Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / arch / mips / include / asm / mach-malta / malta-dtshim.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2015 Imagination Technologies
4  * Author: Paul Burton <paul.burton@mips.com>
5  */
6
7 #ifndef __MIPS_MALTA_DTSHIM_H__
8 #define __MIPS_MALTA_DTSHIM_H__
9
10 #include <linux/init.h>
11
12 #ifdef CONFIG_MIPS_MALTA
13
14 extern void __init *malta_dt_shim(void *fdt);
15
16 #else /* !CONFIG_MIPS_MALTA */
17
18 static inline void *malta_dt_shim(void *fdt)
19 {
20         return fdt;
21 }
22
23 #endif /* !CONFIG_MIPS_MALTA */
24
25 #endif /* __MIPS_MALTA_DTSHIM_H__ */