projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc90b15
)
[media] gspca - kinect: Remove __devinitdata
author
Jean-François Moine
<moinejf@free.fr>
Tue, 17 May 2011 06:56:09 +0000
(
03:56
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 21 May 2011 12:32:39 +0000
(09:32 -0300)
__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>
drivers/media/video/gspca/kinect.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/kinect.c
b/drivers/media/video/gspca/kinect.c
index 2028c6436bbd5e9d311e9d097644dd9f186d32d8..66671a4092e4e68344e0314cec0e9a984c7e49a7 100644
(file)
--- a/
drivers/media/video/gspca/kinect.c
+++ b/
drivers/media/video/gspca/kinect.c
@@
-389,7
+389,7
@@
static const struct sd_desc sd_desc = {
};
/* -- module initialisation -- */
-static const
__devinitdata
struct usb_device_id device_table[] = {
+static const struct usb_device_id device_table[] = {
{USB_DEVICE(0x045e, 0x02ae)},
{}
};