lkml.org 
[lkml]   [2005]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] SyncLink adapters: updates .owner field of struct pci_driver
This patch 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>

--
drivers/char/synclink.c | 1 +
drivers/char/synclinkmp.c | 1 +
2 files changed, 2 insertions(+)

Index: linux-2.6-stable/drivers/char/synclink.c
===================================================================
--- linux-2.6-stable.orig/drivers/char/synclink.c
+++ linux-2.6-stable/drivers/char/synclink.c
@@ -912,6 +912,7 @@
MODULE_LICENSE("GPL");

static struct pci_driver synclink_pci_driver = {
+ .owner = THIS_MODULE,
.name = "synclink",
.id_table = synclink_pci_tbl,
.probe = synclink_init_one,
Index: linux-2.6-stable/drivers/char/synclinkmp.c
===================================================================
--- linux-2.6-stable.orig/drivers/char/synclinkmp.c
+++ linux-2.6-stable/drivers/char/synclinkmp.c
@@ -501,6 +501,7 @@
MODULE_LICENSE("GPL");

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-22 22:47    [W:0.046 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site