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 | 8f04dd0792935cd520662cc256bd53f50fc4410b (patch) | |
tree | 2ab80177541e9495896d1e1a855042e8c4131450 /drivers | |
parent | 1a66ddcb770fbd20ce115910c7828cafdba099c1 (diff) |
[PATCH] epca: update .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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/epca.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/epca.c b/drivers/char/epca.c index 407708a001e4..b7a0e4d6b934 100644 --- a/drivers/char/epca.c +++ b/drivers/char/epca.c | |||
@@ -3113,6 +3113,7 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl); | |||
3113 | int __init init_PCI (void) | 3113 | int __init init_PCI (void) |
3114 | { /* Begin init_PCI */ | 3114 | { /* Begin init_PCI */ |
3115 | memset (&epca_driver, 0, sizeof (epca_driver)); | 3115 | memset (&epca_driver, 0, sizeof (epca_driver)); |
3116 | epca_driver.owner = THIS_MODULE; | ||
3116 | epca_driver.name = "epca"; | 3117 | epca_driver.name = "epca"; |
3117 | epca_driver.id_table = epca_pci_tbl; | 3118 | epca_driver.id_table = epca_pci_tbl; |
3118 | epca_driver.probe = epca_init_one; | 3119 | epca_driver.probe = epca_init_one; |