Skip to content
Commit 9448b0d4 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Len Brown
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 2c6e33c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment