aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:08:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:01 -0500
commit6f039790510fd630ff348efe8c4802dbaa041fba (patch)
treebf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/gvp11.c
parent48c68c4f1b542444f175a9e136febcecf3e704d8 (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/gvp11.c')
-rw-r--r--drivers/scsi/gvp11.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c
index 488fbc648656..dbe4cc6b9f8b 100644
--- a/drivers/scsi/gvp11.c
+++ b/drivers/scsi/gvp11.c
@@ -204,7 +204,7 @@ static struct scsi_host_template gvp11_scsi_template = {
204 .use_clustering = DISABLE_CLUSTERING 204 .use_clustering = DISABLE_CLUSTERING
205}; 205};
206 206
207static int __devinit check_wd33c93(struct gvp11_scsiregs *regs) 207static int check_wd33c93(struct gvp11_scsiregs *regs)
208{ 208{
209#ifdef CHECK_WD33C93 209#ifdef CHECK_WD33C93
210 volatile unsigned char *sasr_3393, *scmd_3393; 210 volatile unsigned char *sasr_3393, *scmd_3393;
@@ -284,8 +284,7 @@ static int __devinit check_wd33c93(struct gvp11_scsiregs *regs)
284 return 0; 284 return 0;
285} 285}
286 286
287static int __devinit gvp11_probe(struct zorro_dev *z, 287static int gvp11_probe(struct zorro_dev *z, const struct zorro_device_id *ent)
288 const struct zorro_device_id *ent)
289{ 288{
290 struct Scsi_Host *instance; 289 struct Scsi_Host *instance;
291 unsigned long address; 290 unsigned long address;
@@ -380,7 +379,7 @@ fail_check_or_alloc:
380 return error; 379 return error;
381} 380}
382 381
383static void __devexit gvp11_remove(struct zorro_dev *z) 382static void gvp11_remove(struct zorro_dev *z)
384{ 383{
385 struct Scsi_Host *instance = zorro_get_drvdata(z); 384 struct Scsi_Host *instance = zorro_get_drvdata(z);
386 struct gvp11_hostdata *hdata = shost_priv(instance); 385 struct gvp11_hostdata *hdata = shost_priv(instance);
@@ -398,7 +397,7 @@ static void __devexit gvp11_remove(struct zorro_dev *z)
398 * SERIES I though). 397 * SERIES I though).
399 */ 398 */
400 399
401static struct zorro_device_id gvp11_zorro_tbl[] __devinitdata = { 400static struct zorro_device_id gvp11_zorro_tbl[] = {
402 { ZORRO_PROD_GVP_COMBO_030_R3_SCSI, ~0x00ffffff }, 401 { ZORRO_PROD_GVP_COMBO_030_R3_SCSI, ~0x00ffffff },
403 { ZORRO_PROD_GVP_SERIES_II, ~0x00ffffff }, 402 { ZORRO_PROD_GVP_SERIES_II, ~0x00ffffff },
404 { ZORRO_PROD_GVP_GFORCE_030_SCSI, ~0x01ffffff }, 403 { ZORRO_PROD_GVP_GFORCE_030_SCSI, ~0x01ffffff },
@@ -414,7 +413,7 @@ static struct zorro_driver gvp11_driver = {
414 .name = "gvp11", 413 .name = "gvp11",
415 .id_table = gvp11_zorro_tbl, 414 .id_table = gvp11_zorro_tbl,
416 .probe = gvp11_probe, 415 .probe = gvp11_probe,
417 .remove = __devexit_p(gvp11_remove), 416 .remove = gvp11_remove,
418}; 417};
419 418
420static int __init gvp11_init(void) 419static int __init gvp11_init(void)