Merge tag 'for-linus-20150901' of git://git.infradead.org/linux-mtd
[deliverable/linux.git] / arch / arm / include / asm / prom.h
CommitLineData
9eb8f674
GL
1/*
2 * arch/arm/include/asm/prom.h
3 *
4 * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com>
5 *
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.
9 *
10 */
11#ifndef __ASMARM_PROM_H
12#define __ASMARM_PROM_H
13
14#ifdef CONFIG_OF
15
ff69a4c8 16extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
a0ae0240 17extern void __init arm_dt_init_cpu_maps(void);
93c02ab4
GL
18
19#else /* CONFIG_OF */
20
ff69a4c8 21static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys)
93c02ab4
GL
22{
23 return NULL;
24}
25
a0ae0240 26static inline void arm_dt_init_cpu_maps(void) { }
93c02ab4 27
9eb8f674
GL
28#endif /* CONFIG_OF */
29#endif /* ASMARM_PROM_H */
This page took 0.214188 seconds and 5 git commands to generate.