summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-03-10 23:16:58 -0600
committerMike Isely <isely@pobox.com>2006-03-10 23:16:58 -0600
commit2c8bf0866f80ba38b84a4078e934c6b2d4ccc699 (patch)
treec236829597eda679800caf2766ced882d77eb0cd /linux/drivers
parentc40b5265ec12ca5d5b38549372d9c9c2fa632ba8 (diff)
downloadmediapointer-dvb-s2-2c8bf0866f80ba38b84a4078e934c6b2d4ccc699.tar.gz
mediapointer-dvb-s2-2c8bf0866f80ba38b84a4078e934c6b2d4ccc699.tar.bz2
Fix const inconsistency in pvrusb2
From: Mike Isely <isely@pobox.com> Clean up a missing const declaration in the initialization pathway of the pvrusb2 driver. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c2
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 84b6f1af8..91b3336de 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -1233,7 +1233,7 @@ int pvr2_hdw_setup(struct pvr2_hdw *hdw)
/* Create and return a structure for interacting with the underlying
hardware */
struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
- struct usb_device_id *devid)
+ const struct usb_device_id *devid)
{
unsigned int idx,cnt1,cnt2;
struct pvr2_hdw *hdw;
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
index 4f1844629..667c95a27 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
@@ -169,7 +169,7 @@ struct pvr2_hdw;
/* Create and return a structure for interacting with the underlying
hardware */
struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
- struct usb_device_id *devid);
+ const struct usb_device_id *devid);
/* Poll for background activity (if any) */
void pvr2_hdw_poll(struct pvr2_hdw *);