ARM: S3C24XX: Use common macro to define resources on mach-gta02.c
Cc: Nelson Castillo <arhuaco@freaks-unidos.net> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Родитель
52df44d172
Коммит
1c2bf1d326
|
@ -387,11 +387,8 @@ static struct physmap_flash_data gta02_nor_flash_data = {
|
|||
.width = 2,
|
||||
};
|
||||
|
||||
static struct resource gta02_nor_flash_resource = {
|
||||
.start = GTA02_FLASH_BASE,
|
||||
.end = GTA02_FLASH_BASE + GTA02_FLASH_SIZE - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
};
|
||||
static struct resource gta02_nor_flash_resource =
|
||||
DEFINE_RES_MEM(GTA02_FLASH_BASE, GTA02_FLASH_SIZE);
|
||||
|
||||
static struct platform_device gta02_nor_flash = {
|
||||
.name = "physmap-flash",
|
||||
|
|
Загрузка…
Ссылка в новой задаче