mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Laurent riffard <laurent.riffard@free.fr>
To: linux-kernel@vger.kernel.org, Al Viro <viro@ftp.linux.org.uk>,
	Greg KH <greg@kroah.com>,
	Russell King <rmk+lkml@arm.linux.org.uk>
Subject: [RFC patch 2/3] remove pci_driver.owner and .name fields
Date: Wed, 26 Oct 2005 22:48:04 +0200	[thread overview]
Message-ID: <20051026204909.576265000@antares.localdomain> (raw)
In-Reply-To: <20051026204802.123045000@antares.localdomain>

[-- Attachment #1: remove_pci_driver_owner_name-drivers_block.patch --]
[-- Type: text/plain, Size: 2761 bytes --]

Use pci_driver.driver.name instead of pci_driver.name (this field is
planned for deletion).

This patch updates the drivers found in directory drivers/block.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
--

 drivers/block/DAC960.c   |    4 +++-
 drivers/block/cciss.c    |    4 +++-
 drivers/block/cpqarray.c |    4 +++-
 drivers/block/sx8.c      |    4 +++-
 drivers/block/umem.c     |    4 +++-
 5 files changed, 15 insertions(+), 5 deletions(-)

Index: linux-2.6-stable/drivers/block/DAC960.c
===================================================================
--- linux-2.6-stable.orig/drivers/block/DAC960.c
+++ linux-2.6-stable/drivers/block/DAC960.c
@@ -7185,7 +7185,9 @@
 MODULE_DEVICE_TABLE(pci, DAC960_id_table);
 
 static struct pci_driver DAC960_pci_driver = {
-	.name		= "DAC960",
+	.driver = {
+		.name	= "DAC960",
+	},
 	.id_table	= DAC960_id_table,
 	.probe		= DAC960_Probe,
 	.remove		= DAC960_Remove,
Index: linux-2.6-stable/drivers/block/cciss.c
===================================================================
--- linux-2.6-stable.orig/drivers/block/cciss.c
+++ linux-2.6-stable/drivers/block/cciss.c
@@ -2929,7 +2929,9 @@
 }	
 
 static struct pci_driver cciss_pci_driver = {
-	.name =		"cciss",
+	.driver = {
+		.name =	"cciss",
+	},
 	.probe =	cciss_init_one,
 	.remove =	__devexit_p(cciss_remove_one),
 	.id_table =	cciss_pci_device_id, /* id_table */
Index: linux-2.6-stable/drivers/block/cpqarray.c
===================================================================
--- linux-2.6-stable.orig/drivers/block/cpqarray.c
+++ linux-2.6-stable/drivers/block/cpqarray.c
@@ -541,7 +541,9 @@
 }
 
 static struct pci_driver cpqarray_pci_driver = {
-	.name = "cpqarray",
+	.driver = {
+		.name = "cpqarray",
+	},
 	.probe = cpqarray_init_one,
 	.remove = __devexit_p(cpqarray_remove_one_pci),
 	.id_table = cpqarray_pci_device_id,
Index: linux-2.6-stable/drivers/block/sx8.c
===================================================================
--- linux-2.6-stable.orig/drivers/block/sx8.c
+++ linux-2.6-stable/drivers/block/sx8.c
@@ -395,7 +395,9 @@
 MODULE_DEVICE_TABLE(pci, carm_pci_tbl);
 
 static struct pci_driver carm_driver = {
-	.name		= DRV_NAME,
+	.driver = {
+		.name	= DRV_NAME,
+	},
 	.id_table	= carm_pci_tbl,
 	.probe		= carm_init_one,
 	.remove		= carm_remove_one,
Index: linux-2.6-stable/drivers/block/umem.c
===================================================================
--- linux-2.6-stable.orig/drivers/block/umem.c
+++ linux-2.6-stable/drivers/block/umem.c
@@ -1170,7 +1170,9 @@
 MODULE_DEVICE_TABLE(pci, mm_pci_ids);
 
 static struct pci_driver mm_pci_driver = {
-	.name =		"umem",
+	.driver = {
+		.name =	"umem",
+	},
 	.id_table =	mm_pci_ids,
 	.probe =	mm_pci_probe,
 	.remove =	mm_pci_remove,

--


  parent reply	other threads:[~2005-10-26 20:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 20:48 [RFC patch 0/3] " Laurent riffard
2005-10-26 20:48 ` [RFC patch 1/3] " Laurent riffard
2005-10-26 21:20   ` Al Viro
2005-10-26 22:53     ` Laurent Riffard
2005-10-26 20:48 ` Laurent riffard [this message]
2005-10-26 21:05   ` [RFC patch 2/3] " Roland Dreier
2005-10-26 21:21     ` Al Viro
2005-10-26 21:30       ` Roland Dreier
2005-10-26 21:35       ` Andrew Morton
2005-10-26 20:48 ` [RFC patch 3/3] " Laurent riffard
2005-10-26 21:11   ` Greg KH
2005-10-26 22:22     ` Laurent Riffard
2005-10-26 22:26       ` Greg KH
2005-10-26 22:57         ` Laurent Riffard
2005-10-26 21:17 ` [RFC patch 0/3] " Al Viro

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=20051026204909.576265000@antares.localdomain \
    --to=laurent.riffard@free.fr \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=viro@ftp.linux.org.uk \
    /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®