Skip to content

Commit

Permalink
[PATCH] SyncLink adapters: updates .owner field of struct pci_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Riffard authored and Linus Torvalds committed Oct 31, 2005
1 parent 8f04dd0 commit 413a42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/synclink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/char/synclinkmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl);
MODULE_LICENSE("GPL");

static struct pci_driver synclinkmp_pci_driver = {
.owner = THIS_MODULE,
.name = "synclinkmp",
.id_table = synclinkmp_pci_tbl,
.probe = synclinkmp_init_one,
Expand Down

0 comments on commit 413a42e

Please sign in to comment.