diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/rc/ir-hix5hd2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index 94967d0e0478..c555ca2aed0e 100644 --- a/drivers/media/rc/ir-hix5hd2.c +++ b/drivers/media/rc/ir-hix5hd2.c | |||
@@ -68,7 +68,7 @@ | |||
68 | 68 | ||
69 | struct hix5hd2_ir_priv { | 69 | struct hix5hd2_ir_priv { |
70 | int irq; | 70 | int irq; |
71 | void *base; | 71 | void volatile __iomem *base; |
72 | struct device *dev; | 72 | struct device *dev; |
73 | struct rc_dev *rdev; | 73 | struct rc_dev *rdev; |
74 | struct regmap *regmap; | 74 | struct regmap *regmap; |
@@ -218,8 +218,8 @@ static int hix5hd2_ir_probe(struct platform_device *pdev) | |||
218 | 218 | ||
219 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 219 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
220 | priv->base = devm_ioremap_resource(dev, res); | 220 | priv->base = devm_ioremap_resource(dev, res); |
221 | if (IS_ERR(priv->base)) | 221 | if (IS_ERR((__force void *)priv->base)) |
222 | return PTR_ERR(priv->base); | 222 | return PTR_ERR((__force void *)priv->base); |
223 | 223 | ||
224 | priv->irq = platform_get_irq(pdev, 0); | 224 | priv->irq = platform_get_irq(pdev, 0); |
225 | if (priv->irq < 0) { | 225 | if (priv->irq < 0) { |