Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6bf69b5ebf22f8f5b4551bad688979fe29049126
Commit:     6bf69b5ebf22f8f5b4551bad688979fe29049126
Parent:     c8e773fa4f6a999a80d9fa3836f412e259ab6fa1
Author:     Roel Kluin <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 11 16:05:35 2008 +0100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 01:19:16 2008 -0500

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/pnp/pnpacpi/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c
index 662b4c2..c283a9a 100644
--- a/drivers/pnp/pnpacpi/core.c
+++ b/drivers/pnp/pnpacpi/core.c
@@ -36,7 +36,7 @@ static int num = 0;
  * have irqs (PIC, Timer) because we call acpi_register_gsi.
  * Finally, only devices that have a CRS method need to be in this list.
  */
-static struct __initdata acpi_device_id excluded_id_list[] = {
+static struct acpi_device_id excluded_id_list[] __initdata = {
        {"PNP0C09", 0},         /* EC */
        {"PNP0C0F", 0},         /* Link device */
        {"PNP0000", 0},         /* PIC */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to