android_kernel_xiaomi_sm8350/drivers/pnp/pnpacpi
Roel Kluin 6bf69b5ebf pnpacpi: __initdata is not an identifier
sparse complains at drivers/pnp/pnpacpi/core.c:39 with the error:
Trying to use reserved word '__attribute__' as identifier
Expected ) in function declarator, got ".init.data"

and at drivers/pnp/pnpacpi/core.c:49:38 with the error:
undefined identifier 'excluded_id_list'

With the patch below these sparse complaints do not occur

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-14 01:19:16 -05:00
..
core.c pnpacpi: __initdata is not an identifier 2008-02-14 01:19:16 -05:00
Kconfig
Makefile
pnpacpi.h
rsparser.c pnp: declare PNP option parsing functions as __init 2008-02-06 10:41:19 -08:00