summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-15 08:53:39 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 19:20:55 +0100
commit566b8bbf8c01cd32586087aa267f9358c8857078 (patch)
treebf52f79da8c0d0e939f39152dae16edda103abe0
parentusb: storage: sddr09: fix sparse warning (diff)
downloadlinux-566b8bbf8c01cd32586087aa267f9358c8857078.tar.xz
linux-566b8bbf8c01cd32586087aa267f9358c8857078.zip
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>
-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 */
};