drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / include / asm / prom.h
blob2d74406089d79faf6099a55749495083b011bbb8
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * arch/mips/include/asm/prom.h
5 * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com>
6 */
7 #ifndef __ASM_PROM_H
8 #define __ASM_PROM_H
10 #ifdef CONFIG_USE_OF
11 #include <linux/bug.h>
12 #include <linux/io.h>
13 #include <linux/types.h>
14 #include <asm/bootinfo.h>
16 extern void device_tree_init(void);
18 struct boot_param_header;
20 extern void __dt_setup_arch(void *bph);
21 extern int __dt_register_buses(const char *bus0, const char *bus1);
23 #else /* !CONFIG_USE_OF */
24 static inline void device_tree_init(void) { }
25 #endif /* !CONFIG_USE_OF */
27 extern char *mips_get_machine_name(void);
28 extern void mips_set_machine_name(const char *name);
30 #endif /* __ASM_PROM_H */