summaryrefslogtreecommitdiffstats
path: root/drivers/char/synclink.c
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-10-30 15:03:08 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:26 -0800
commit413a42e2eac0c90264a6a0c9ce1913dfb2376f7a (patch)
tree6f2ad87f9ede277373301be18d8e1cc235a4086d /drivers/char/synclink.c
parent8f04dd0792935cd520662cc256bd53f50fc4410b (diff)
downloadop-kernel-dev-413a42e2eac0c90264a6a0c9ce1913dfb2376f7a.zip
op-kernel-dev-413a42e2eac0c90264a6a0c9ce1913dfb2376f7a.tar.gz
[PATCH] SyncLink adapters: updates .owner field of struct pci_driver
This 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@free.fr> Cc: Paul Fulghum <paulkf@microgate.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/synclink.c')
-rw-r--r--drivers/char/synclink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c
index ea2d54b..0133dc0 100644
--- a/drivers/char/synclink.c
+++ b/drivers/char/synclink.c
@@ -912,6 +912,7 @@ MODULE_DEVICE_TABLE(pci, synclink_pci_tbl);
MODULE_LICENSE("GPL");
static struct pci_driver synclink_pci_driver = {
+ .owner = THIS_MODULE,
.name = "synclink",
.id_table = synclink_pci_tbl,
.probe = synclink_init_one,
OpenPOWER on IntegriCloud