[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>

authored by

Kristian Høgsberg and committed by
James Bottomley
b02b6bc4 b4e44590

+3 -3
+1 -1
drivers/firewire/fw-sbp2.c
··· 1162 1162 static struct scsi_host_template scsi_driver_template = { 1163 1163 .module = THIS_MODULE, 1164 1164 .name = "SBP-2 IEEE-1394", 1165 - .proc_name = (char *)sbp2_driver_name, 1165 + .proc_name = sbp2_driver_name, 1166 1166 .queuecommand = sbp2_scsi_queuecommand, 1167 1167 .slave_alloc = sbp2_scsi_slave_alloc, 1168 1168 .slave_configure = sbp2_scsi_slave_configure,
+1 -1
drivers/scsi/scsi_debug.c
··· 2875 2875 2876 2876 init_all_queued(); 2877 2877 2878 - sdebug_driver_template.proc_name = (char *)sdebug_proc_name; 2878 + sdebug_driver_template.proc_name = sdebug_proc_name; 2879 2879 2880 2880 host_to_add = scsi_debug_add_host; 2881 2881 scsi_debug_add_host = 0;
+1 -1
include/scsi/scsi_host.h
··· 341 341 /* 342 342 * Name of proc directory 343 343 */ 344 - char *proc_name; 344 + const char *proc_name; 345 345 346 346 /* 347 347 * Used to store the procfs directory if a driver implements the