summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-15 11:53:39 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 22:20:55 +0400
commit566b8bbf8c01cd32586087aa267f9358c8857078 (patch)
treebf52f79da8c0d0e939f39152dae16edda103abe0 /drivers/usb/storage
parent6f871f9e30504a86f37d074e45a2aa722d7aed53 (diff)
downloadlinux-566b8bbf8c01cd32586087aa267f9358c8857078.tar.xz
usb: storage: sddr55: fix sparse warning
Fix the following sparse warning: | drivers/usb/storage/sddr55.c:51:22: warning: symbol | 'sddr55_usb_ids' was not declared. Should it | be static? Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/sddr55.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/sddr55.c b/drivers/usb/storage/sddr55.c
index 44dfed7754ed..f2930441a2fa 100644
--- a/drivers/usb/storage/sddr55.c
+++ b/drivers/usb/storage/sddr55.c
@@ -48,7 +48,7 @@ MODULE_LICENSE("GPL");
{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
.driver_info = (flags)|(USB_US_TYPE_STOR<<24) }
-struct usb_device_id sddr55_usb_ids[] = {
+static struct usb_device_id sddr55_usb_ids[] = {
# include "unusual_sddr55.h"
{ } /* Terminating entry */
};