aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-14 13:20:02 -0500
committerOlof Johansson <olof@lixom.net>2013-01-14 13:20:02 -0500
commit8d84981e395850aab31c3f2ca7e2738e03f671d7 (patch)
tree933425fddb23d28be802277471df3fe3f6c2711d /drivers/scsi/gvp11.c
parent00c82d64405631967dca3890a9ce80ab35d04cc7 (diff)
parent77cc982f6a3b33a5aa058ad3b20cda8866db2948 (diff)
Merge branch 'clocksource/cleanup' into next/cleanup
Clockevent cleanup series from Shawn Guo. Resolved move/change conflict in mach-pxa/time.c due to the sys_timer cleanup. * clocksource/cleanup: clocksource: use clockevents_config_and_register() where possible ARM: use clockevents_config_and_register() where possible clockevents: export clockevents_config_and_register for module use + sync to Linux 3.8-rc3 Signed-off-by: Olof Johansson <olof@lixom.net> Conflicts: arch/arm/mach-pxa/time.c
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)