[PATCH] pata_isapnp: use MODULE_DEVICE_TABLE()

2007-08-02 Thread Jeff Garzik

I found this while doing ISDN PCI API conversions...  I presume this
omission was not intentional?

Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>


diff --git a/drivers/ata/pata_isapnp.c b/drivers/ata/pata_isapnp.c
index 5525518..91a396f 100644
--- a/drivers/ata/pata_isapnp.c
+++ b/drivers/ata/pata_isapnp.c
@@ -139,6 +139,8 @@ static struct pnp_device_id isapnp_devices[] = {
{.id = ""}
 };
 
+MODULE_DEVICE_TABLE(pnp, isapnp_devices);
+
 static struct pnp_driver isapnp_driver = {
.name   = DRV_NAME,
.id_table   = isapnp_devices,
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] pata_isapnp: use MODULE_DEVICE_TABLE()

2007-08-02 Thread Alan Cox
On Thu, 2 Aug 2007 07:06:07 -0400
Jeff Garzik <[EMAIL PROTECTED]> wrote:

> 
> I found this while doing ISDN PCI API conversions...  I presume this
> omission was not intentional?
> 
> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

Looks fine to me 

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html