--- zzzz-none-000/linux-4.1.52/arch/arm/include/asm/prom.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/arm/include/asm/prom.h 2022-03-02 11:37:12.000000000 +0000 @@ -1,29 +1,4 @@ -/* - * arch/arm/include/asm/prom.h - * - * Copyright (C) 2009 Canonical Ltd. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - */ #ifndef __ASMARM_PROM_H #define __ASMARM_PROM_H - -#ifdef CONFIG_OF - -extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys); -extern void __init arm_dt_init_cpu_maps(void); - -#else /* CONFIG_OF */ - -static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys) -{ - return NULL; -} - -static inline void arm_dt_init_cpu_maps(void) { } - -#endif /* CONFIG_OF */ +#include #endif /* ASMARM_PROM_H */