aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2007-07-20 12:12:51 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:02:57 -0400
commit63116febb9233743279a05be510ab8524f5f6242 (patch)
tree2a172ad8a12e27ce8473295b2bd730a215f06665 /include/media
parentbaa05e4b454fa7d87f9a41a4bbc1f749c113ff3a (diff)
V4L/DVB (5883): V4L: Fix a compile warning on non-32-bit machines.
Fix a compile warning on non-32-bit machines in v4l2-int-device.h. Add internal ioctl interface fallback function for ioctls with one argument. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-int-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index 2b6fc1122f6c..deb28ce6685d 100644
--- a/include/media/v4l2-int-device.h
+++ b/include/media/v4l2-int-device.h
@@ -170,7 +170,7 @@ int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg);
170 arg_type asterisk arg) \ 170 arg_type asterisk arg) \
171 { \ 171 { \
172 return v4l2_int_ioctl_1(d, vidioc_int_##name##_num, \ 172 return v4l2_int_ioctl_1(d, vidioc_int_##name##_num, \
173 (void *)arg); \ 173 (void *)(unsigned long)arg); \
174 } \ 174 } \
175 \ 175 \
176 static inline struct v4l2_int_ioctl_desc \ 176 static inline struct v4l2_int_ioctl_desc \