summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-01 18:52:26 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-01 18:52:26 -0300
commitc9eb88fca53978c15a4beea4bef308178cd1443a (patch)
tree7f1d3538e3a1006ed5c2273daad8bdcc37de5c31 /linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
parent49ba95a8ac08643c195b798ae687b2fe663ca01a (diff)
parentb9b51ddc029b64b109b6d9130f6e15876cadca20 (diff)
downloadmediapointer-dvb-s2-c9eb88fca53978c15a4beea4bef308178cd1443a.tar.gz
mediapointer-dvb-s2-c9eb88fca53978c15a4beea4bef308178cd1443a.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/tda18271
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
index d6de60c24..f672473dd 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
@@ -290,7 +290,7 @@ static ssize_t store_val_norm(int id,struct device *class_dev,
int ret;
sfp = (struct pvr2_sysfs *)class_dev->driver_data;
pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_norm(cid=%d) \"%.*s\"",
- sfp,id,count,buf);
+ sfp,id,(int)count,buf);
ret = store_val_any(id,0,sfp,buf,count);
if (!ret) ret = count;
return ret;
@@ -303,7 +303,7 @@ static ssize_t store_val_custom(int id,struct device *class_dev,
int ret;
sfp = (struct pvr2_sysfs *)class_dev->driver_data;
pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_custom(cid=%d) \"%.*s\"",
- sfp,id,count,buf);
+ sfp,id,(int)count,buf);
ret = store_val_any(id,1,sfp,buf,count);
if (!ret) ret = count;
return ret;