[PATCH -mm] Multi-Tech serial card: updates .owner field of structpci_driver

From: Laurent Riffard
Date: Sat Oct 22 2005 - 15:43:56 EST


This patch updates .owner field of struct pci_driver.

This allows SYSFS to create the symlink from the driver to the
module which provides it.

Signed-off-by: Laurent Riffard <laurent.riffard@xxxxxxx>

--

drivers/char/isicom.c | 1 +
1 files changed, 1 insertion(+)

Index: linux-2.6-mm/drivers/char/isicom.c
===================================================================
--- linux-2.6-mm.orig/drivers/char/isicom.c
+++ linux-2.6-mm/drivers/char/isicom.c
@@ -163,6 +163,7 @@
MODULE_DEVICE_TABLE(pci, isicom_pci_tbl);

static struct pci_driver isicom_driver = {
+ .owner = THIS_MODULE,
.name = "isicom",
.id_table = isicom_pci_tbl,
.probe = isicom_probe,

--



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/