mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Fix the gpio handling and flash resource declaration, thanks to Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8366 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -30,13 +30,12 @@
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-rdc/rdc321x_defs.h>
|
||||
|
||||
/* FIXME : Flash */
|
||||
static struct resource rdc_flash_resource[] = {
|
||||
[0] = {
|
||||
.start = RDC_FLASH_BASE,
|
||||
.end = RDC_FLASH_BASE+CONFIG_MTD_RDC3210_SIZE-1,
|
||||
.start = (u32)-CONFIG_MTD_RDC3210_SIZE,
|
||||
.end = (u32)-1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user