[media] st_rc: fix build warning
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 14 Apr 2015 19:24:15 +0000 (16:24 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 19:24:26 +0000 (16:24 -0300)
commit2235cf63400928a2deeccf65735e611a2d8aae30
tree5c35342714c1086c0251b09116e0800827e26d76
parent3ea0f28559076982ae02935c27ea1a58dece65ab
[media] st_rc: fix build warning

Building for avr32 leads the following build warning:

drivers/media/rc/st_rc.c:270: warning: passing argument 1 of 'IS_ERR' discards qualifiers from pointer target type
drivers/media/rc/st_rc.c:271: warning: passing argument 1 of 'PTR_ERR' discards qualifiers from pointer target type

devm_ioremap_resource() returns void __iomem *, so change 'base' and
'rx_base' definitions 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/st_rc.c