1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

mach-jz4740: Move all non generic code from platform.c to board-qi_lb60.c

platform.c should only contain the generic platform device definitons,
everything board specific should go into the board file.
This commit is contained in:
Lars-Peter Clausen
2009-10-12 00:36:32 +02:00
committed by Xiangfu Liu
parent 5709f560f9
commit 7fa87373a8
6 changed files with 417 additions and 389 deletions

View File

@@ -16,6 +16,8 @@
#ifndef _JZ_GPIO_H
#define _JZ_GPIO_H
#include <linux/types.h>
enum jz_gpio_function {
JZ_GPIO_FUNC_NONE,
JZ_GPIO_FUNC1,

View File

@@ -0,0 +1,19 @@
#ifndef __JZ4740_PLATFORM_H
#define __JZ4740_PLATFORM_H
#include <linux/platform_device.h>
extern struct platform_device jz4740_usb_ohci_device;
extern struct platform_device jz4740_usb_gdt_device;
extern struct platform_device jz4740_mmc_device;
extern struct platform_device jz4740_rtc_device;
extern struct platform_device jz4740_i2c_device;
extern struct platform_device jz4740_nand_device;
extern struct platform_device jz4740_framebuffer_device;
extern struct platform_device jz4740_i2s_device;
extern struct platform_device jz4740_codec_device;
extern struct platform_device jz4740_adc_device;
extern struct platform_device jz4740_battery_device;
#endif