]> err.no Git - linux-2.6/commit
acpi: fix section mismatch warning in pnpacpi
authorSam Ravnborg <sam@ravnborg.org>
Tue, 29 Apr 2008 20:52:01 +0000 (22:52 +0200)
committerLen Brown <len.brown@intel.com>
Wed, 30 Apr 2008 17:33:26 +0000 (13:33 -0400)
commit9448b0d43e5509c6b7baca02510a92ef2de6e328
tree7a00924e460bc4f343ae6e13e0866ddbd70eedd5
parent2c6e33c366bff2f839df60d9235ff09143e28dd9
acpi: fix section mismatch warning in pnpacpi

Fix following section mismatch warning:
WARNING: vmlinux.o(.text+0x153d69): Section mismatch in reference from the function is_exclusive_device() to the variable .init.data:excluded_id_list

is_exclusive_device is only used from __init context so document
this with the __init annotation and get rid of the warning.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/core.c