mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch -mm] drivers/edac: updates .owner field of struct pci_driver
       [not found] <20051023210900.994245000@antares.localdomain>
@ 2005-10-23 21:09 ` Laurent Riffard
  0 siblings, 0 replies; only message in thread
From: Laurent Riffard @ 2005-10-23 21:09 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: driver_edac_pci_driver_owner_field.patch --]
[-- Type: text/plain, Size: 1974 bytes --]

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/edac/amd76x_edac.c  |    1 +
 drivers/edac/e7xxx_edac.c   |    1 +
 drivers/edac/i82875p_edac.c |    1 +
 drivers/edac/r82600_edac.c  |    1 +
 4 files changed, 4 insertions(+)

Index: linux-2.6-mm/drivers/edac/amd76x_edac.c
===================================================================
--- linux-2.6-mm.orig/drivers/edac/amd76x_edac.c
+++ linux-2.6-mm/drivers/edac/amd76x_edac.c
@@ -332,6 +332,7 @@
 
 
 static struct pci_driver amd76x_driver = {
+	.owner = THIS_MODULE,
 	.name = BS_MOD_STR,
 	.probe = amd76x_init_one,
 	.remove = __devexit_p(amd76x_remove_one),
Index: linux-2.6-mm/drivers/edac/e7xxx_edac.c
===================================================================
--- linux-2.6-mm.orig/drivers/edac/e7xxx_edac.c
+++ linux-2.6-mm/drivers/edac/e7xxx_edac.c
@@ -530,6 +530,7 @@
 
 
 static struct pci_driver e7xxx_driver = {
+	.owner = THIS_MODULE,
 	.name = BS_MOD_STR,
 	.probe = e7xxx_init_one,
 	.remove = __devexit_p(e7xxx_remove_one),
Index: linux-2.6-mm/drivers/edac/i82875p_edac.c
===================================================================
--- linux-2.6-mm.orig/drivers/edac/i82875p_edac.c
+++ linux-2.6-mm/drivers/edac/i82875p_edac.c
@@ -476,6 +476,7 @@
 
 
 static struct pci_driver i82875p_driver = {
+	.owner = THIS_MODULE,
 	.name = BS_MOD_STR,
 	.probe = i82875p_init_one,
 	.remove = __devexit_p(i82875p_remove_one),
Index: linux-2.6-mm/drivers/edac/r82600_edac.c
===================================================================
--- linux-2.6-mm.orig/drivers/edac/r82600_edac.c
+++ linux-2.6-mm/drivers/edac/r82600_edac.c
@@ -374,6 +374,7 @@
 
 
 static struct pci_driver r82600_driver = {
+	.owner = THIS_MODULE,
 	.name = BS_MOD_STR,
 	.probe = r82600_init_one,
 	.remove = __devexit_p(r82600_remove_one),

--


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-23 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20051023210900.994245000@antares.localdomain>
2005-10-23 21:09 ` [patch -mm] drivers/edac: updates .owner field of struct pci_driver Laurent Riffard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®