diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cpia.c | 2 | ||||
-rw-r--r-- | drivers/media/video/rds.h | 2 | ||||
-rw-r--r-- | drivers/media/video/saa6588.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cpia.c b/drivers/media/video/cpia.c index 8c08b7f1ad23..b7ec9bf45085 100644 --- a/drivers/media/video/cpia.c +++ b/drivers/media/video/cpia.c | |||
@@ -1397,7 +1397,7 @@ static void destroy_proc_cpia_cam(struct cam_data *cam) | |||
1397 | 1397 | ||
1398 | static void proc_cpia_create(void) | 1398 | static void proc_cpia_create(void) |
1399 | { | 1399 | { |
1400 | cpia_proc_root = create_proc_entry("cpia", S_IFDIR, NULL); | 1400 | cpia_proc_root = proc_mkdir("cpia", NULL); |
1401 | 1401 | ||
1402 | if (cpia_proc_root) | 1402 | if (cpia_proc_root) |
1403 | cpia_proc_root->owner = THIS_MODULE; | 1403 | cpia_proc_root->owner = THIS_MODULE; |
diff --git a/drivers/media/video/rds.h b/drivers/media/video/rds.h index 30337d0f1a87..0d30eb744e61 100644 --- a/drivers/media/video/rds.h +++ b/drivers/media/video/rds.h | |||
@@ -31,7 +31,7 @@ | |||
31 | struct rds_command { | 31 | struct rds_command { |
32 | unsigned int block_count; | 32 | unsigned int block_count; |
33 | int result; | 33 | int result; |
34 | unsigned char *buffer; | 34 | unsigned char __user *buffer; |
35 | struct file *instance; | 35 | struct file *instance; |
36 | poll_table *event_list; | 36 | poll_table *event_list; |
37 | }; | 37 | }; |
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index 1a657a70ff43..72b70eb5da1d 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -157,7 +157,7 @@ static struct i2c_client client_template; | |||
157 | 157 | ||
158 | /* ---------------------------------------------------------------------- */ | 158 | /* ---------------------------------------------------------------------- */ |
159 | 159 | ||
160 | static int block_to_user_buf(struct saa6588 *s, unsigned char *user_buf) | 160 | static int block_to_user_buf(struct saa6588 *s, unsigned char __user *user_buf) |
161 | { | 161 | { |
162 | int i; | 162 | int i; |
163 | 163 | ||
@@ -191,7 +191,7 @@ static void read_from_buf(struct saa6588 *s, struct rds_command *a) | |||
191 | { | 191 | { |
192 | unsigned long flags; | 192 | unsigned long flags; |
193 | 193 | ||
194 | unsigned char *buf_ptr = a->buffer; /* This is a user space buffer! */ | 194 | unsigned char __user *buf_ptr = a->buffer; |
195 | unsigned int i; | 195 | unsigned int i; |
196 | unsigned int rd_blocks; | 196 | unsigned int rd_blocks; |
197 | 197 | ||