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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ff231db811
commit
3358be9adf
@@ -139,7 +139,7 @@ static int init_alauda(struct us_data *us);
|
|||||||
{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
|
{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
|
||||||
.driver_info = (flags)|(USB_US_TYPE_STOR<<24) }
|
.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"
|
# include "unusual_alauda.h"
|
||||||
{ } /* Terminating entry */
|
{ } /* Terminating entry */
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user