Commit f4d5eade authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[PATCH] SCSI sim710.c: make some code static

This patch makes some needlessly global code static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 22369b82
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define MAX_SLOTS 8 #define MAX_SLOTS 8
static __u8 __initdata id_array[MAX_SLOTS] = { [0 ... MAX_SLOTS-1] = 7 }; static __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_AUTHOR("Richard Hirst");
MODULE_DESCRIPTION("Simple NCR53C710 driver"); MODULE_DESCRIPTION("Simple NCR53C710 driver");
...@@ -61,7 +61,7 @@ module_param(sim710, charp, 0); ...@@ -61,7 +61,7 @@ module_param(sim710, charp, 0);
#define ARG_SEP ',' #define ARG_SEP ','
#endif #endif
__init int static __init int
param_setup(char *str) param_setup(char *str)
{ {
char *pos = str, *next; char *pos = str, *next;
...@@ -314,7 +314,7 @@ sim710_eisa_probe(struct device *dev) ...@@ -314,7 +314,7 @@ sim710_eisa_probe(struct device *dev)
differential, scsi_id); differential, scsi_id);
} }
struct eisa_driver sim710_eisa_driver = { static struct eisa_driver sim710_eisa_driver = {
.id_table = sim710_eisa_ids, .id_table = sim710_eisa_ids,
.driver = { .driver = {
.name = "sim710", .name = "sim710",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment