SCSI sim710.c: make some code static
PATCH 1/1 SCSI sim710.c: make some code static
The patch below makes some needlessly global code static.
Signed-off-by Adrian Bunk <[email protected]>
drivers/scsi/sim710.c renamed from drivers/scsi/sim710.c.old +3 -3
@@ -47,7 +47,7 @@#define MAX_SLOTS 8static __u8 __initdata id_array[MAX_SLOTS ] = { [0 ...MAX_SLOTS -1 ] =7 }; -char *sim710;/* command line passed by insmod */ +static char *sim710;/* command line passed by insmod */ MODULE_AUTHOR ("Richard Hirst" );MODULE_DESCRIPTION ("Simple NCR53C710 driver" );
@@ -61,7 +61,7 @@#define ARG_SEP ','#endif -__init int +static __init int param_setup (char *str) {char *pos = str, *next;
@@ -314,7 +314,7 @@ differential, scsi_id); } -struct eisa_driver sim710_eisa_driver = { +static struct eisa_driver sim710_eisa_driver = { .id_table = sim710_eisa_ids, .driver = { .name ="sim710" ,