From: Laurent Riffard <laurent.riffard@free.fr>
To: linux-kernel@vger.kernel.org
Subject: [patch -mm] drivers/edac: updates .owner field of struct pci_driver
Date: Sun, 23 Oct 2005 23:09:16 +0200 [thread overview]
Message-ID: <20051023210940.512241000@antares.localdomain> (raw)
In-Reply-To: <20051023210900.994245000@antares.localdomain>
[-- 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),
--
parent reply other threads:[~2005-10-23 21:15 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20051023210900.994245000@antares.localdomain>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051023210940.512241000@antares.localdomain \
--to=laurent.riffard@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®