diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2005-10-30 18:03:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:26 -0500 |
commit | 413a42e2eac0c90264a6a0c9ce1913dfb2376f7a (patch) | |
tree | 6f2ad87f9ede277373301be18d8e1cc235a4086d /drivers/char | |
parent | 8f04dd0792935cd520662cc256bd53f50fc4410b (diff) |
[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')
-rw-r--r-- | drivers/char/synclink.c | 1 | ||||
-rw-r--r-- | drivers/char/synclinkmp.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index ea2d54be4843..0133dc0e25d0 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -912,6 +912,7 @@ MODULE_DEVICE_TABLE(pci, synclink_pci_tbl); | |||
912 | MODULE_LICENSE("GPL"); | 912 | MODULE_LICENSE("GPL"); |
913 | 913 | ||
914 | static struct pci_driver synclink_pci_driver = { | 914 | static struct pci_driver synclink_pci_driver = { |
915 | .owner = THIS_MODULE, | ||
915 | .name = "synclink", | 916 | .name = "synclink", |
916 | .id_table = synclink_pci_tbl, | 917 | .id_table = synclink_pci_tbl, |
917 | .probe = synclink_init_one, | 918 | .probe = synclink_init_one, |
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 6fb165cf8a61..f185724448b1 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -500,6 +500,7 @@ MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl); | |||
500 | MODULE_LICENSE("GPL"); | 500 | MODULE_LICENSE("GPL"); |
501 | 501 | ||
502 | static struct pci_driver synclinkmp_pci_driver = { | 502 | static struct pci_driver synclinkmp_pci_driver = { |
503 | .owner = THIS_MODULE, | ||
503 | .name = "synclinkmp", | 504 | .name = "synclinkmp", |
504 | .id_table = synclinkmp_pci_tbl, | 505 | .id_table = synclinkmp_pci_tbl, |
505 | .probe = synclinkmp_init_one, | 506 | .probe = synclinkmp_init_one, |