[media] ir-hix5hd2: Fix build warning
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 14 Apr 2015 18:21:39 +0000 (15:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 19:16:53 +0000 (16:16 -0300)
commit3ea0f28559076982ae02935c27ea1a58dece65ab
treee5e1f8cfe9cae352108c8b912c70645f36523936
parent0fd355c8bf8eaafdcb9617877297e74c43213126
[media] ir-hix5hd2: Fix build warning

Building for avr32 leads the following build warning:

drivers/media/rc/ir-hix5hd2.c:221: warning: passing argument 1 of 'IS_ERR' discards qualifiers from pointer target type
drivers/media/rc/ir-hix5hd2.c:222: warning: passing argument 1 of 'PTR_ERR' discards qualifiers from pointer target type

devm_ioremap_resource() returns void __iomem *, so change 'base' definition
accordingly.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/ir-hix5hd2.c
This page took 0.024641 seconds and 5 git commands to generate.