]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pnpacpi: __initdata is not an identifier
authorRoel Kluin <12o3l@tiscali.nl>
Mon, 11 Feb 2008 15:05:35 +0000 (16:05 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 14 Feb 2008 06:19:16 +0000 (01:19 -0500)
commit6bf69b5ebf22f8f5b4551bad688979fe29049126
treeadf485089038c54a869e1e24bb4dd0fffecbac3c
parentc8e773fa4f6a999a80d9fa3836f412e259ab6fa1
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>
drivers/pnp/pnpacpi/core.c