summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-08 11:07:06 -0400
committerSteven Toth <stoth@linuxtv.org>2008-09-08 11:07:06 -0400
commit6d9b01f13a3c2d24b45b7ca718606854e8cdf17a (patch)
treed8ce407e2d3706838791aa4efbb03f4ffa814dd0 /linux/drivers/media
parent06e3dd65bdfbd21a9b3b64a344cdb2304b7e898a (diff)
downloadmediapointer-dvb-s2-6d9b01f13a3c2d24b45b7ca718606854e8cdf17a.tar.gz
mediapointer-dvb-s2-6d9b01f13a3c2d24b45b7ca718606854e8cdf17a.tar.bz2
S2API: DVB-S/S2 voltage selection bug fix
From: Steven Toth <stoth@linuxtv.org> Thanks to Hans Werner for finding the problem. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index e17dd050c..fbe2b8c6d 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1301,7 +1301,7 @@ int tv_property_process(struct dvb_frontend *fe, tv_property_t *tvp,
case TV_SET_VOLTAGE:
fe->tv_property_cache.voltage = tvp->u.data;
r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
- &fe->tv_property_cache.voltage);
+ (void *)fe->tv_property_cache.voltage);
break;
case TV_GET_VOLTAGE:
tvp->u.data = fe->tv_property_cache.voltage;