aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
index 17616f79f34e..78ecfcbdd0b9 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
@@ -288,7 +288,7 @@ static ssize_t store_val_norm(int id,struct device *class_dev,
288 int ret; 288 int ret;
289 sfp = (struct pvr2_sysfs *)class_dev->driver_data; 289 sfp = (struct pvr2_sysfs *)class_dev->driver_data;
290 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_norm(cid=%d) \"%.*s\"", 290 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_norm(cid=%d) \"%.*s\"",
291 sfp,id,count,buf); 291 sfp,id,(int)count,buf);
292 ret = store_val_any(id,0,sfp,buf,count); 292 ret = store_val_any(id,0,sfp,buf,count);
293 if (!ret) ret = count; 293 if (!ret) ret = count;
294 return ret; 294 return ret;
@@ -301,7 +301,7 @@ static ssize_t store_val_custom(int id,struct device *class_dev,
301 int ret; 301 int ret;
302 sfp = (struct pvr2_sysfs *)class_dev->driver_data; 302 sfp = (struct pvr2_sysfs *)class_dev->driver_data;
303 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_custom(cid=%d) \"%.*s\"", 303 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_custom(cid=%d) \"%.*s\"",
304 sfp,id,count,buf); 304 sfp,id,(int)count,buf);
305 ret = store_val_any(id,1,sfp,buf,count); 305 ret = store_val_any(id,1,sfp,buf,count);
306 if (!ret) ret = count; 306 if (!ret) ret = count;
307 return ret; 307 return ret;