Browse Source

[media] media: cx23885: fix type of allowed_protos

Protocol lists are represented as 64-bit bitmaps,
therefore use u64 instead of unsigned long.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Heiner Kallweit 9 years ago
parent
commit
439be34800
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/pci/cx23885/cx23885-input.c

+ 1 - 1
drivers/media/pci/cx23885/cx23885-input.c

@@ -268,7 +268,7 @@ int cx23885_input_init(struct cx23885_dev *dev)
 	struct rc_dev *rc;
 	char *rc_map;
 	enum rc_driver_type driver_type;
-	unsigned long allowed_protos;
+	u64 allowed_protos;
 
 	int ret;