Commit
413a42e2eac0c90264a6a0c9ce1913dfb2376f7a
Exists in
master
and in
20 other branches
dlt-processor-sdk-linux-03.00.00.04, newt-ti-linux-3.12.y, processor-sdk-linux-01.00.00, processor-sdk-linux-02.00.01, smarc-ti-linux-3.12.10, smarc-ti-linux-3.12.y, smarc-ti-linux-3.14.y, smarc-ti-linux-3.15.y, smarc-ti-lsk-linux-4.1.y, smarct3x-processor-sdk-04.01.00.06, smarct3x-processor-sdk-linux-02.00.01, smarct3x-processor-sdk-linux-03.00.00.04, smarct4x-800-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-04.01.00.06, smarct4x-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-linux-03.00.00.04, ti-linux-3.12.y, ti-linux-3.14.y, ti-linux-3.15.y, ti-lsk-linux-4.1.y
[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>
Showing
2 changed files
with
2 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -912,6 +912,7 @@ |
912
|
912 |
MODULE_LICENSE("GPL"); |
913
|
913 |
|
914
|
914 |
static struct pci_driver synclink_pci_driver = { |
|
915 |
+ .owner = THIS_MODULE, |
915
|
916 |
.name = "synclink", |
916
|
917 |
.id_table = synclink_pci_tbl, |
917
|
918 |
.probe = synclink_init_one, |
... |
... |
@@ -500,6 +500,7 @@ |
500
|
500 |
MODULE_LICENSE("GPL"); |
501
|
501 |
|
502
|
502 |
static struct pci_driver synclinkmp_pci_driver = { |
|
503 |
+ .owner = THIS_MODULE, |
503
|
504 |
.name = "synclinkmp", |
504
|
505 |
.id_table = synclinkmp_pci_tbl, |
505
|
506 |
.probe = synclinkmp_init_one, |