summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/dm1105
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-21 16:50:34 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 15:32:59 +0200
commit888bd5dcb68437273ffc3752c4976f851205b25d (patch)
treec074b1c2e05dcb7243a8e046cededadea8b6cc02 /drivers/media/pci/dm1105
parent[media] cx231xx: fix sparse warnings (diff)
downloadlinux-888bd5dcb68437273ffc3752c4976f851205b25d.tar.xz
linux-888bd5dcb68437273ffc3752c4976f851205b25d.zip
[media] dm1105: fix sparse warning
drivers/media/pci/dm1105/dm1105.c:617:9: warning: incorrect type in argument 1 (different base types) Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/dm1105')
-rw-r--r--drivers/media/pci/dm1105/dm1105.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media/pci/dm1105/dm1105.c
index e8826c535ccd..ed11716731e9 100644
--- a/drivers/media/pci/dm1105/dm1105.c
+++ b/drivers/media/pci/dm1105/dm1105.c
@@ -614,7 +614,7 @@ static int dm1105_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
static void dm1105_set_dma_addr(struct dm1105_dev *dev)
{
- dm_writel(DM1105_STADR, cpu_to_le32(dev->dma_addr));
+ dm_writel(DM1105_STADR, (__force u32)cpu_to_le32(dev->dma_addr));
}
static int dm1105_dma_map(struct dm1105_dev *dev)