]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
OMAP2+: PM: fix section mismatch in pm_dbg_init()
authorSanjeev Premi <premi@ti.com>
Thu, 16 Jun 2011 20:31:00 +0000 (02:01 +0530)
committerKevin Hilman <khilman@ti.com>
Mon, 27 Jun 2011 16:53:14 +0000 (09:53 -0700)
commitec3cdb5baedf6bb3852c531426c1e95a13671dff
tree1ec10d29a42621fbade8c978da9598eb36d735fc
parent59bec58373bc8324a2ee7d7355fe8499c8f6f602
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>
arch/arm/mach-omap2/pm-debug.c