MIPS: malta: remove mach-malta/malta-dtshim.h header file
To clean up mach-* directories move external declaration of malta_dt_shim() to mips-boards/malta.h and remove malta-dtshim.h. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2015 Imagination Technologies
|
|
||||||
* Author: Paul Burton <paul.burton@mips.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __MIPS_MALTA_DTSHIM_H__
|
|
||||||
#define __MIPS_MALTA_DTSHIM_H__
|
|
||||||
|
|
||||||
#include <linux/init.h>
|
|
||||||
|
|
||||||
#ifdef CONFIG_MIPS_MALTA
|
|
||||||
|
|
||||||
extern void __init *malta_dt_shim(void *fdt);
|
|
||||||
|
|
||||||
#else /* !CONFIG_MIPS_MALTA */
|
|
||||||
|
|
||||||
static inline void *malta_dt_shim(void *fdt)
|
|
||||||
{
|
|
||||||
return fdt;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* !CONFIG_MIPS_MALTA */
|
|
||||||
|
|
||||||
#endif /* __MIPS_MALTA_DTSHIM_H__ */
|
|
||||||
@@ -92,4 +92,6 @@ static inline unsigned long get_msc_port_base(unsigned long reg)
|
|||||||
|
|
||||||
#define MALTA_JMPRS_REG 0x1f000210
|
#define MALTA_JMPRS_REG 0x1f000210
|
||||||
|
|
||||||
|
extern void __init *malta_dt_shim(void *fdt);
|
||||||
|
|
||||||
#endif /* __ASM_MIPS_BOARDS_MALTA_H */
|
#endif /* __ASM_MIPS_BOARDS_MALTA_H */
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <asm/dma-coherence.h>
|
#include <asm/dma-coherence.h>
|
||||||
#include <asm/fw/fw.h>
|
#include <asm/fw/fw.h>
|
||||||
#include <asm/mach-malta/malta-dtshim.h>
|
|
||||||
#include <asm/mips-cps.h>
|
#include <asm/mips-cps.h>
|
||||||
#include <asm/mips-boards/generic.h>
|
#include <asm/mips-boards/generic.h>
|
||||||
#include <asm/mips-boards/malta.h>
|
#include <asm/mips-boards/malta.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user