[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070802110606.GA26087@havoc.gtf.org>
Date: Thu, 2 Aug 2007 07:06:07 -0400
From: Jeff Garzik <jeff@...zik.org>
To: linux-ide@...r.kernel.org, Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] pata_isapnp: use MODULE_DEVICE_TABLE()
I found this while doing ISDN PCI API conversions... I presume this
omission was not intentional?
Signed-off-by: Jeff Garzik <jeff@...zik.org>
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists