ARM: i.MX: remove map_io callback
authorVladimir Murzin <vladimir.murzin@arm.com>
Fri, 2 Dec 2016 15:05:38 +0000 (15:05 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 2 Jan 2017 06:02:09 +0000 (14:02 +0800)
commitd7da1ccfa2c26d54230ee6aae28902dd10b325a7
tree641ed65a1665b18aea8760a8a29981f111320f63
parent4c51de4570d6881e2a4a7f56d55385336de0bd51
ARM: i.MX: remove map_io callback

There is no need to define map_io only for debug_ll_io_init() since it
is already called in devicemaps_init() if map_io is NULL.

Apart from that, for NOMMU build debug_ll_io_init() is a nop which
leads to following error:

CC      arch/arm/mach-imx/mach-imx1.o
arch/arm/mach-imx/mach-imx1.c:40:13: error: 'debug_ll_io_init' undeclared here (not in a function)
  .map_io  = debug_ll_io_init,
             ^
make[1]: *** [arch/arm/mach-imx/mach-imx1.o] Error 1

Cc: Alexander Shiyan <shc_work@mail.ru>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-imx1.c