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: kernel test robot <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
0cd47616cf
commit
0e7add1e20
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user