Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / mips / include / asm / mach-loongson32 / platform.h
blob8f8fa43ba095dd35a04a12cbc7af599c86ba9dda
1 /*
2 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
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 */
10 #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
11 #define __ASM_MACH_LOONGSON32_PLATFORM_H
13 #include <linux/platform_device.h>
15 #include <dma.h>
16 #include <nand.h>
18 extern struct platform_device ls1x_uart_pdev;
19 extern struct platform_device ls1x_cpufreq_pdev;
20 extern struct platform_device ls1x_dma_pdev;
21 extern struct platform_device ls1x_eth0_pdev;
22 extern struct platform_device ls1x_eth1_pdev;
23 extern struct platform_device ls1x_ehci_pdev;
24 extern struct platform_device ls1x_gpio0_pdev;
25 extern struct platform_device ls1x_gpio1_pdev;
26 extern struct platform_device ls1x_nand_pdev;
27 extern struct platform_device ls1x_rtc_pdev;
28 extern struct platform_device ls1x_wdt_pdev;
30 void __init ls1x_clk_init(void);
31 void __init ls1x_dma_set_platdata(struct plat_ls1x_dma *pdata);
32 void __init ls1x_nand_set_platdata(struct plat_ls1x_nand *pdata);
33 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
34 void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
36 #endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */