of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git] / arch / mips / include / asm / mach-malta / malta-dtshim.h
blobcfd777663c6401a84ec095bd1615718c6cb4fa2c
1 /*
2 * Copyright (C) 2015 Imagination Technologies
3 * Author: Paul Burton <paul.burton@imgtec.com>
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 */
11 #ifndef __MIPS_MALTA_DTSHIM_H__
12 #define __MIPS_MALTA_DTSHIM_H__
14 #include <linux/init.h>
16 #ifdef CONFIG_MIPS_MALTA
18 extern void __init *malta_dt_shim(void *fdt);
20 #else /* !CONFIG_MIPS_MALTA */
22 static inline void *malta_dt_shim(void *fdt)
24 return fdt;
27 #endif /* !CONFIG_MIPS_MALTA */
29 #endif /* __MIPS_MALTA_DTSHIM_H__ */