xref: /linux/arch/mips/include/asm/mach-loongson32/platform.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 /*
2  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
3  *
4  * This program is free software; you can redistribute	it and/or modify it
5  * under  the terms of	the GNU General	 Public License as published by the
6  * Free Software Foundation;  either version 2 of the  License, or (at your
7  * option) any later version.
8  */
9 
10 
11 #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
12 #define __ASM_MACH_LOONGSON32_PLATFORM_H
13 
14 #include <linux/platform_device.h>
15 
16 extern struct platform_device ls1x_uart_pdev;
17 extern struct platform_device ls1x_cpufreq_pdev;
18 extern struct platform_device ls1x_eth0_pdev;
19 extern struct platform_device ls1x_eth1_pdev;
20 extern struct platform_device ls1x_ehci_pdev;
21 extern struct platform_device ls1x_rtc_pdev;
22 
23 extern void __init ls1x_clk_init(void);
24 extern void __init ls1x_serial_setup(struct platform_device *pdev);
25 
26 #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */
27