// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2019 Amlogic, Inc. All rights reserved. */ #include #include #include #include #include #include #include #include #include #include #include #include #include "hwspinlock_bakery.h" #include "hwspinlock.h" static int __init hwspinlock_init(void) { aml_hwspinlock_init(); aml_bak_hwspinlock_init(); return 0; } static void __exit hwspinlock_exit(void) { aml_hwspinlock_exit(); aml_bak_hwspinlock_exit(); } module_init(hwspinlock_init); module_exit(hwspinlock_exit); MODULE_DESCRIPTION("Amlogic hwspinlock driver"); MODULE_LICENSE("GPL v2");