Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
platform.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011 Zhang, Keguang <[email protected]>
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_LOONGSON1_PLATFORM_H
12 #define __ASM_MACH_LOONGSON1_PLATFORM_H
13 
14 #include <linux/platform_device.h>
15 
16 extern struct platform_device ls1x_uart_device;
17 extern struct platform_device ls1x_eth0_device;
18 extern struct platform_device ls1x_ehci_device;
19 extern struct platform_device ls1x_rtc_device;
20 
21 void ls1x_serial_setup(void);
22 
23 #endif /* __ASM_MACH_LOONGSON1_PLATFORM_H */