summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-15 08:53:28 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 19:20:45 +0100
commit3358be9adf368b54b3f95a3e2556f7aa1ae106d9 (patch)
tree567abc7c38017161fc95573580738a79327aed80
parentUSB: Add optional match for interface class to dynamic ID facility (diff)
downloadlinux-3358be9adf368b54b3f95a3e2556f7aa1ae106d9.tar.xz
linux-3358be9adf368b54b3f95a3e2556f7aa1ae106d9.zip
usb: storage: alauda: fix sparse warnings
Fix the following warning: | drivers/usb/storage/alauda.c:142:22: warning: symbol | 'alauda_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/alauda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/alauda.c b/drivers/usb/storage/alauda.c
index 42d0eaed4a01..9ce3bbab6d20 100644
--- a/drivers/usb/storage/alauda.c
+++ b/drivers/usb/storage/alauda.c
@@ -139,7 +139,7 @@ static int init_alauda(struct us_data *us);
{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
.driver_info = (flags)|(USB_US_TYPE_STOR<<24) }
-struct usb_device_id alauda_usb_ids[] = {
+static struct usb_device_id alauda_usb_ids[] = {
# include "unusual_alauda.h"
{ } /* Terminating entry */
};