diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-13 04:56:45 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-13 04:56:45 +0000 |
commit | c8cae40489b27ad20886df80e81cc2ea12d9d635 (patch) | |
tree | 1cf734909d17e7de2e8766e7347daeb93106a5fd /sys/dev/usb/storage | |
parent | 8adb2bbd23cfb0d0a8b33231a2e1512c16fce2d3 (diff) | |
download | FreeBSD-src-c8cae40489b27ad20886df80e81cc2ea12d9d635.zip FreeBSD-src-c8cae40489b27ad20886df80e81cc2ea12d9d635.tar.gz |
Make variables static where appropriate.
Found by: cscout
Diffstat (limited to 'sys/dev/usb/storage')
-rw-r--r-- | sys/dev/usb/storage/umass.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/storage/ustorage_fs.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index 2f17f91..55c199f 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -1074,7 +1074,7 @@ static void umass_dump_buffer(struct umass_softc *, uint8_t *, uint32_t, uint32_t); #endif -struct usb_config umass_bbb_config[UMASS_T_BBB_MAX] = { +static struct usb_config umass_bbb_config[UMASS_T_BBB_MAX] = { [UMASS_T_BBB_RESET1] = { .type = UE_CONTROL, @@ -1164,7 +1164,7 @@ struct usb_config umass_bbb_config[UMASS_T_BBB_MAX] = { }, }; -struct usb_config umass_cbi_config[UMASS_T_CBI_MAX] = { +static struct usb_config umass_cbi_config[UMASS_T_CBI_MAX] = { [UMASS_T_CBI_RESET1] = { .type = UE_CONTROL, diff --git a/sys/dev/usb/storage/ustorage_fs.c b/sys/dev/usb/storage/ustorage_fs.c index 7360961..80dcb9b 100644 --- a/sys/dev/usb/storage/ustorage_fs.c +++ b/sys/dev/usb/storage/ustorage_fs.c @@ -254,7 +254,7 @@ DRIVER_MODULE(ustorage_fs, uhub, ustorage_fs_driver, ustorage_fs_devclass, NULL, MODULE_VERSION(ustorage_fs, 0); MODULE_DEPEND(ustorage_fs, usb, 1, 1, 1); -struct usb_config ustorage_fs_bbb_config[USTORAGE_FS_T_BBB_MAX] = { +static struct usb_config ustorage_fs_bbb_config[USTORAGE_FS_T_BBB_MAX] = { [USTORAGE_FS_T_BBB_COMMAND] = { .type = UE_BULK, |