diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-07-17 07:13:29 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:17 -0400 |
commit | c2a529f73de56cb99ae9abcc2c8fb9fe3f2d2039 (patch) | |
tree | 9b2c87e64b41552215f017393d2294af3bf7f4fe /arch/mips/include/asm | |
parent | a8b7e9e8b08afe97e5b3d9bdd499867ce9a1c913 (diff) |
MIPS: JZ4740: Add platform devices
Add platform devices for all the JZ4740 platform drivers.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1469/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/mach-jz4740/platform.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/platform.h b/arch/mips/include/asm/mach-jz4740/platform.h new file mode 100644 index 000000000000..8987a76e9676 --- /dev/null +++ b/arch/mips/include/asm/mach-jz4740/platform.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> | ||
3 | * JZ4740 platform device definitions | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License as published by the | ||
7 | * Free Software Foundation; either version 2 of the License, or (at your | ||
8 | * option) any later version. | ||
9 | * | ||
10 | * You should have received a copy of the GNU General Public License along | ||
11 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
12 | * 675 Mass Ave, Cambridge, MA 02139, USA. | ||
13 | * | ||
14 | */ | ||
15 | |||
16 | |||
17 | #ifndef __JZ4740_PLATFORM_H | ||
18 | #define __JZ4740_PLATFORM_H | ||
19 | |||
20 | #include <linux/platform_device.h> | ||
21 | |||
22 | extern struct platform_device jz4740_usb_ohci_device; | ||
23 | extern struct platform_device jz4740_udc_device; | ||
24 | extern struct platform_device jz4740_mmc_device; | ||
25 | extern struct platform_device jz4740_rtc_device; | ||
26 | extern struct platform_device jz4740_i2c_device; | ||
27 | extern struct platform_device jz4740_nand_device; | ||
28 | extern struct platform_device jz4740_framebuffer_device; | ||
29 | extern struct platform_device jz4740_i2s_device; | ||
30 | extern struct platform_device jz4740_pcm_device; | ||
31 | extern struct platform_device jz4740_codec_device; | ||
32 | extern struct platform_device jz4740_adc_device; | ||
33 | |||
34 | void jz4740_serial_device_register(void); | ||
35 | |||
36 | #endif | ||