diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2016-12-02 10:05:38 -0500 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-01-02 01:02:09 -0500 |
commit | d7da1ccfa2c26d54230ee6aae28902dd10b325a7 (patch) | |
tree | 641ed65a1665b18aea8760a8a29981f111320f63 | |
parent | 4c51de4570d6881e2a4a7f56d55385336de0bd51 (diff) |
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>
-rw-r--r-- | arch/arm/mach-imx/mach-imx1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx1.c b/arch/arm/mach-imx/mach-imx1.c index de5ab8d88549..3a8406e45b65 100644 --- a/arch/arm/mach-imx/mach-imx1.c +++ b/arch/arm/mach-imx/mach-imx1.c | |||
@@ -37,7 +37,6 @@ static const char * const imx1_dt_board_compat[] __initconst = { | |||
37 | }; | 37 | }; |
38 | 38 | ||
39 | DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)") | 39 | DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)") |
40 | .map_io = debug_ll_io_init, | ||
41 | .init_early = imx1_init_early, | 40 | .init_early = imx1_init_early, |
42 | .init_irq = imx1_init_irq, | 41 | .init_irq = imx1_init_irq, |
43 | .dt_compat = imx1_dt_board_compat, | 42 | .dt_compat = imx1_dt_board_compat, |