Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804AbXFTPwo (ORCPT ); Wed, 20 Jun 2007 11:52:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754268AbXFTPwf (ORCPT ); Wed, 20 Jun 2007 11:52:35 -0400 Received: from mtoichi14.ns.itscom.net ([219.110.2.184]:59646 "EHLO mtoichi14.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753990AbXFTPwe (ORCPT ); Wed, 20 Jun 2007 11:52:34 -0400 Date: Thu, 21 Jun 2007 00:52:21 +0900 From: Mattia Dongili To: Thomas Renninger Cc: Len Brown , linux-kernel , linux-acpi , Kay Sievers Subject: Re: [PATCH 2/3] ACPI autoloading - Create acpi alias interface Message-ID: <20070620155220.GA9226@inferi.kami.home> References: <1182111854.4204.4.camel@noname> <1182112047.4204.12.camel@noname> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1182112047.4204.12.camel@noname> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.22-rc5-2 i686 X-Editor: Vim http://www.vim.org/ X-Disclaimer: Buh! User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1409 Lines: 47 On Sun, Jun 17, 2007 at 10:27:27PM +0200, Thomas Renninger wrote: > Create acpi alias interface ... > Index: linux-2.6.22-rc4/drivers/pnp/pnpacpi/core.c > =================================================================== > --- linux-2.6.22-rc4.orig/drivers/pnp/pnpacpi/core.c > +++ linux-2.6.22-rc4/drivers/pnp/pnpacpi/core.c > @@ -21,7 +21,10 @@ > > #include > #include > +#include > #include > +#include > + > #include "pnpacpi.h" > > static int num = 0; > @@ -33,15 +36,17 @@ static int num = 0; > * have irqs (PIC, Timer) because we call acpi_register_gsi. > * Finaly only devices that have a CRS method need to be in this list. > */ > -static char __initdata excluded_id_list[] = > - "PNP0C09," /* EC */ > - "PNP0C0F," /* Link device */ > - "PNP0000," /* PIC */ > - "PNP0100," /* Timer */ > - ; > +static __initdata struct acpi_device_id excluded_id_list[] ={ > + {"PNP0C09", 0}, /* EC */ > + {"PNP0C0F", 0}, /* Link device */ > + {"PNP0000", 0}, /* PIC */ > + {"PNP0100", 0}, /* Timer */ > + {"", 0}; ^^^ eeek! > +}; > + -- mattia :wq! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/