summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-05-10 01:23:12 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-19 19:06:26 +0200
commitb02b6bc46571b21a545c9e697df1e226ff22bc81 (patch)
tree4088bb8494b057ecbee2a360556eb90600121755 /drivers/scsi/scsi_debug.c
parent[SCSI] zfcp: code cleanup (diff)
downloadlinux-b02b6bc46571b21a545c9e697df1e226ff22bc81.tar.xz
linux-b02b6bc46571b21a545c9e697df1e226ff22bc81.zip
[SCSI] Make scsi_host_template::proc_name const char * instead of char *.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> collapsed with fw-sbp2 patch "Drop cast to non-const char * in host template initialization." from Kristian Høgsberg Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index 4cd9c58efef1..4947dfe625a6 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -2875,7 +2875,7 @@ static int __init scsi_debug_init(void)
init_all_queued();
- sdebug_driver_template.proc_name = (char *)sdebug_proc_name;
+ sdebug_driver_template.proc_name = sdebug_proc_name;
host_to_add = scsi_debug_add_host;
scsi_debug_add_host = 0;