]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/mips/include/asm/mach-malta/malta-dtshim.h
Merge remote-tracking branch 'mfd/for-mfd-next'
[karo-tx-linux.git] / arch / mips / include / asm / mach-malta / malta-dtshim.h
1 /*
2  * Copyright (C) 2015 Imagination Technologies
3  * Author: Paul Burton <paul.burton@imgtec.com>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  */
10
11 #ifndef __MIPS_MALTA_DTSHIM_H__
12 #define __MIPS_MALTA_DTSHIM_H__
13
14 #include <linux/init.h>
15
16 #ifdef CONFIG_MIPS_MALTA
17
18 extern void __init *malta_dt_shim(void *fdt);
19
20 #else /* !CONFIG_MIPS_MALTA */
21
22 static inline void *malta_dt_shim(void *fdt)
23 {
24         return fdt;
25 }
26
27 #endif /* !CONFIG_MIPS_MALTA */
28
29 #endif /* __MIPS_MALTA_DTSHIM_H__ */