forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mach-omap2/control.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * OMAP2/3 System Control Module register access
34 *
....@@ -5,10 +6,6 @@
56 * Copyright (C) 2007 Nokia Corporation
67 *
78 * Written by Paul Walmsley
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
129 */
1310 #undef DEBUG
1411
....@@ -687,7 +684,7 @@
687684 *
688685 * Save the wkup domain registers
689686 */
690
-void am43xx_control_save_context(void)
687
+static void am43xx_control_save_context(void)
691688 {
692689 int i;
693690
....@@ -701,7 +698,7 @@
701698 *
702699 * Restore the wkup domain registers
703700 */
704
-void am43xx_control_restore_context(void)
701
+static void am43xx_control_restore_context(void)
705702 {
706703 int i;
707704