summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm-debug.c
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2011-06-17 02:01:00 +0530
committerKevin Hilman <khilman@ti.com>2011-06-27 09:53:14 -0700
commitec3cdb5baedf6bb3852c531426c1e95a13671dff (patch)
tree1ec10d29a42621fbade8c978da9598eb36d735fc /arch/arm/mach-omap2/pm-debug.c
parent59bec58373bc8324a2ee7d7355fe8499c8f6f602 (diff)
downloadop-kernel-dev-ec3cdb5baedf6bb3852c531426c1e95a13671dff.zip
op-kernel-dev-ec3cdb5baedf6bb3852c531426c1e95a13671dff.tar.gz
OMAP2+: PM: fix section mismatch in pm_dbg_init()
Fix the section mismatch warning: WARNING: vmlinux.o(.text+0x21118): Section mismatch in reference from the function pm_dbg_init() to the function .init.text:pwrdms_setup() The function pm_dbg_init() references the function __init pwrdms_setup(). This is often because pm_dbg_init lacks a __init annotation or the annotation of pwrdms_setup is wrong. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm-debug.c')
-rw-r--r--arch/arm/mach-omap2/pm-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c
index 3d1cce2..3feb475 100644
--- a/arch/arm/mach-omap2/pm-debug.c
+++ b/arch/arm/mach-omap2/pm-debug.c
@@ -278,7 +278,7 @@ static int option_set(void *data, u64 val)
DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
-static int pm_dbg_init(void)
+static int __init pm_dbg_init(void)
{
struct dentry *d;
OpenPOWER on IntegriCloud