summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-10-19 09:13:39 +0200
committerLen Brown <len.brown@intel.com>2010-10-19 14:03:04 -0400
commitd38a5edf812c2f715242aa20b6beb785939a0096 (patch)
tree93c79d62bf6b847a4a068ada5893b112fa84fd05 /drivers/acpi/sleep.c
parentab7c13c4a5a22335b0cfc6f364ee77abed66503c (diff)
downloadlinux-d38a5edf812c2f715242aa20b6beb785939a0096.tar.gz
linux-d38a5edf812c2f715242aa20b6beb785939a0096.tar.bz2
linux-d38a5edf812c2f715242aa20b6beb785939a0096.zip
ACPI dock: move some functions to .init.text
find_dock and find_bay are only called by dock_init which lives in .init.text dock_add is only called by find_dock and find_bay. So all three functions can be moved to .init.text, too. This fixes: WARNING: vmlinux.o(.text+0x2134b7): Section mismatch in reference from the function dock_add() to the function .init.text:platform_device_register_resndata() The function dock_add() references the function __init platform_device_register_resndata(). This is often because dock_add lacks a __init annotation or the annotation of platform_device_register_resndata is wrong. for a build with unset CONFIG_MODULES. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions