Commit 0e7add1e authored by Arnd Bergmann's avatar Arnd Bergmann

integrator: remove empty ap_init_early()

The ap_init_early function is defined a global but has no declaration,
so it produces a warning:

arch/arm/mach-versatile/integrator_ap.c:148:13: warning: no previous prototype for 'ap_init_early' [-Wmissing-prototypes

The function could be made 'static' but since it's empty, we can
just remove it.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 0cd47616
......@@ -145,10 +145,6 @@ struct amba_pl010_data ap_uart_data = {
.set_mctrl = integrator_uart_set_mctrl,
};
void __init ap_init_early(void)
{
}
static void __init ap_init_irq_of(void)
{
cm_init();
......@@ -193,7 +189,6 @@ static const char * ap_dt_board_compat[] = {
DT_MACHINE_START(INTEGRATOR_AP_DT, "ARM Integrator/AP (Device Tree)")
.reserve = integrator_reserve,
.map_io = ap_map_io,
.init_early = ap_init_early,
.init_irq = ap_init_irq_of,
.init_machine = ap_init_of,
.dt_compat = ap_dt_board_compat,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment