unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / arch / mips / include / asm / mach-malta / malta-dtshim.h
blobd696a7598ea7aa1e42833ac70c7f602a3722c61b
1 /*
2 * Copyright (C) 2015 Imagination Technologies
3 * Author: Paul Burton <paul.burton@mips.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__ */