/* * arch/mips/include/asm/prom.h * * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */#ifndef __ASM_PROM_H#define __ASM_PROM_H#ifdef CONFIG_USE_OF#include <linux/bug.h>#include <linux/io.h>#include <linux/types.h>#include <asm/bootinfo.h>externvoiddevice_tree_init(void);structboot_param_header;externvoid__dt_setup_arch(void*bph);externint__dt_register_buses(constchar*bus0,constchar*bus1);#else /* CONFIG_OF */staticinlinevoiddevice_tree_init(void){}#endif /* CONFIG_OF */externchar*mips_get_machine_name(void);externvoidmips_set_machine_name(constchar*name);#endif /* __ASM_PROM_H */