hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/arm/mach-omap2/prm44xx.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * OMAP4 PRM module functions
34 *
....@@ -6,10 +7,6 @@
67 * BenoƮt Cousson
78 * Paul Walmsley
89 * Rajendra Nayak <rnayak@ti.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 #include <linux/cpu_pm.h>
....@@ -748,7 +745,7 @@
748745
749746 static int omap44xx_prm_late_init(void);
750747
751
-void prm_save_context(void)
748
+static void prm_save_context(void)
752749 {
753750 omap_prm_context.irq_enable =
754751 omap4_prm_read_inst_reg(AM43XX_PRM_OCP_SOCKET_INST,
....@@ -759,7 +756,7 @@
759756 omap4_prcm_irq_setup.pm_ctrl);
760757 }
761758
762
-void prm_restore_context(void)
759
+static void prm_restore_context(void)
763760 {
764761 omap4_prm_write_inst_reg(omap_prm_context.irq_enable,
765762 OMAP4430_PRM_OCP_SOCKET_INST,