diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-17 17:48:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 10:00:40 -0700 |
commit | 9f48c235c9f8e7c13544f4a2d4b9a728cf257f45 (patch) | |
tree | f87c30aa15f9d87658b3d18c126f179ddfe725dc /drivers/media | |
parent | 42d6954e99f4e8aade64a3e239b262c686d16431 (diff) | |
download | kernel_samsung_espresso10-9f48c235c9f8e7c13544f4a2d4b9a728cf257f45.zip kernel_samsung_espresso10-9f48c235c9f8e7c13544f4a2d4b9a728cf257f45.tar.gz kernel_samsung_espresso10-9f48c235c9f8e7c13544f4a2d4b9a728cf257f45.tar.bz2 |
USB: smsusb: remove __devinit* from the struct usb_device_id table
commit d04dbd1c0ec17a13326c8f2279399c225836a79f upstream.
This structure needs to always stick around, even if CONFIG_HOTPLUG
is disabled, otherwise we can oops when trying to probe a device that
was added after the structure is thrown away.
Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Bjørn Mork <bjorn@mork.no>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
CC: Michael Krufky <mkrufky@linuxtv.org>
CC: Paul Gortmaker <paul.gortmaker@windriver.com>
CC: Doron Cohen <doronc@siano-ms.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/siano/smsusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c index 4e5719e..3d2867d 100644 --- a/drivers/media/dvb/siano/smsusb.c +++ b/drivers/media/dvb/siano/smsusb.c @@ -480,7 +480,7 @@ static int smsusb_resume(struct usb_interface *intf) return 0; } -static const struct usb_device_id smsusb_id_table[] __devinitconst = { +static const struct usb_device_id smsusb_id_table[] = { { USB_DEVICE(0x187f, 0x0010), .driver_info = SMS1XXX_BOARD_SIANO_STELLAR }, { USB_DEVICE(0x187f, 0x0100), |