Skip to contentSkip to conversation

Multi-Tech serial card: updates .owner field of struct pci_driver

PATCH New Laurent Riffard 1 participant 1 message Oct 22, 2005 1 message not in the archive Char and misc drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 Multi-Tech serial card: updates .owner field of struct pci_driver

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.

--

 drivers/char/isicom.c |    1 +
 1 files changed, 1 insertion(+)
drivers/char/isicom.c +1 -0
Index: 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,

--