diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:08:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 6f039790510fd630ff348efe8c4802dbaa041fba (patch) | |
tree | bf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/3w-xxxx.c | |
parent | 48c68c4f1b542444f175a9e136febcecf3e704d8 (diff) |
Drivers: scsi: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Adam Radford <linuxraid@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/3w-xxxx.c')
-rw-r--r-- | drivers/scsi/3w-xxxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index 7fe96ff60c5..62071d2fc1c 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -2281,7 +2281,7 @@ static struct scsi_host_template driver_template = { | |||
2281 | }; | 2281 | }; |
2282 | 2282 | ||
2283 | /* This function will probe and initialize a card */ | 2283 | /* This function will probe and initialize a card */ |
2284 | static int __devinit tw_probe(struct pci_dev *pdev, const struct pci_device_id *dev_id) | 2284 | static int tw_probe(struct pci_dev *pdev, const struct pci_device_id *dev_id) |
2285 | { | 2285 | { |
2286 | struct Scsi_Host *host = NULL; | 2286 | struct Scsi_Host *host = NULL; |
2287 | TW_Device_Extension *tw_dev; | 2287 | TW_Device_Extension *tw_dev; |
@@ -2422,7 +2422,7 @@ static void tw_remove(struct pci_dev *pdev) | |||
2422 | } /* End tw_remove() */ | 2422 | } /* End tw_remove() */ |
2423 | 2423 | ||
2424 | /* PCI Devices supported by this driver */ | 2424 | /* PCI Devices supported by this driver */ |
2425 | static struct pci_device_id tw_pci_tbl[] __devinitdata = { | 2425 | static struct pci_device_id tw_pci_tbl[] = { |
2426 | { PCI_VENDOR_ID_3WARE, PCI_DEVICE_ID_3WARE_1000, | 2426 | { PCI_VENDOR_ID_3WARE, PCI_DEVICE_ID_3WARE_1000, |
2427 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 2427 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
2428 | { PCI_VENDOR_ID_3WARE, PCI_DEVICE_ID_3WARE_7000, | 2428 | { PCI_VENDOR_ID_3WARE, PCI_DEVICE_ID_3WARE_7000, |