Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / include / asm / prom.h
blobcd94ef2ef283e14e679dbd1802aecfa78ca9bebc
1 /*
2 * arch/arm/include/asm/prom.h
4 * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #ifndef __ASMARM_PROM_H
12 #define __ASMARM_PROM_H
14 #ifdef CONFIG_OF
16 extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
17 extern void __init arm_dt_init_cpu_maps(void);
19 #else /* CONFIG_OF */
21 static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
23 return NULL;
26 static inline void arm_dt_init_cpu_maps(void) { }
28 #endif /* CONFIG_OF */
29 #endif /* ASMARM_PROM_H */