summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sunplus.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-01-13 05:20:29 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 11:45:35 -0200
commit95c967c167785eb991cf6b22fb854dd8d61d0ff8 (patch)
treea182e8117e53ad46d28c9201bcf967433387d680 /drivers/media/video/gspca/sunplus.c
parent0beb6714e787ae46e1c1fc5e275452c1950ad141 (diff)
downloadop-kernel-dev-95c967c167785eb991cf6b22fb854dd8d61d0ff8.zip
op-kernel-dev-95c967c167785eb991cf6b22fb854dd8d61d0ff8.tar.gz
[media] gspca: Remove __devinit, __devinitconst and __devinitdata
__devinit* must not be used in USB drivers. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sunplus.c')
-rw-r--r--drivers/media/video/gspca/sunplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sunplus.c b/drivers/media/video/gspca/sunplus.c
index a9cbcd6..543542a 100644
--- a/drivers/media/video/gspca/sunplus.c
+++ b/drivers/media/video/gspca/sunplus.c
@@ -1162,7 +1162,7 @@ static const struct sd_desc sd_desc = {
#define BS(bridge, subtype) \
.driver_info = (BRIDGE_ ## bridge << 8) \
| (subtype)
-static const __devinitdata struct usb_device_id device_table[] = {
+static const struct usb_device_id device_table[] = {
{USB_DEVICE(0x041e, 0x400b), BS(SPCA504C, 0)},
{USB_DEVICE(0x041e, 0x4012), BS(SPCA504C, 0)},
{USB_DEVICE(0x041e, 0x4013), BS(SPCA504C, 0)},
OpenPOWER on IntegriCloud