From: Mattia Dongili <malattia@linux.it>
To: Thomas Renninger <trenn@suse.de>
Cc: Len Brown <lenb@kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-acpi <linux-acpi@vger.kernel.org>,
Kay Sievers <kasievers@suse.de>
Subject: Re: [PATCH 2/3] ACPI autoloading - Create acpi alias interface
Date: Thu, 21 Jun 2007 00:52:21 +0900 [thread overview]
Message-ID: <20070620155220.GA9226@inferi.kami.home> (raw)
In-Reply-To: <1182112047.4204.12.camel@noname>
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 <linux/acpi.h>
> #include <linux/pnp.h>
> +#include <linux/mod_devicetable.h>
> #include <acpi/acpi_bus.h>
> +#include <acpi/actypes.h>
> +
> #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!
next prev parent reply other threads:[~2007-06-20 15:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-17 20:24 [PATCH 1/3] ACPI autoloading - ACPICA adjustance Thomas Renninger
2007-06-17 20:27 ` [PATCH 2/3] ACPI autoloading - Create acpi alias interface Thomas Renninger
2007-06-17 20:24 ` [PATCH 3/3] ACPI autoloading - Create __mod_acpi_device_table symbol for all acpi drivers Thomas Renninger
2007-06-17 22:49 ` Henrique de Moraes Holschuh
2007-06-19 12:53 ` Thomas Renninger
2007-06-19 16:23 ` Mattia Dongili
2007-06-19 21:27 ` Henrique de Moraes Holschuh
2007-07-03 7:11 ` Len Brown
2007-07-03 15:06 ` Henrique de Moraes Holschuh
2007-06-20 17:06 ` Mattia Dongili
2007-06-20 17:47 ` Thomas Renninger
[not found] ` <1182361643.28514.708.camel-X8wR35IVlAxolqkO4TVVkw@public.gmane.org>
2007-06-21 4:16 ` Mattia Dongili
2007-07-03 7:15 ` Len Brown
[not found] ` <200707030315.33526.lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2007-07-04 7:33 ` Mattia Dongili
2007-07-04 10:17 ` Thomas Renninger
2007-06-20 15:52 ` Mattia Dongili [this message]
2007-06-20 17:24 ` [PATCH 2/3] ACPI autoloading - Create acpi alias interface Thomas Renninger
2007-07-03 7:58 ` [PATCH 1/3] ACPI autoloading - ACPICA adjustance Len Brown
2007-07-03 12:23 ` Thomas Renninger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070620155220.GA9226@inferi.kami.home \
--to=malattia@linux.it \
--cc=kasievers@suse.de \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trenn@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox