ARM: S3C24XX: Use common macro to define resources on mach-tct_hammer.c
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:
parent
5f3b90dcc0
commit
f8dadf5dbe
|
@ -56,11 +56,8 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
static struct resource tct_hammer_nor_resource = {
|
static struct resource tct_hammer_nor_resource =
|
||||||
.start = 0x00000000,
|
DEFINE_RES_MEM(0x00000000, SZ_16M);
|
||||||
.end = 0x01000000 - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct mtd_partition tct_hammer_mtd_partitions[] = {
|
static struct mtd_partition tct_hammer_mtd_partitions[] = {
|
||||||
{
|
{
|
||||||
|
|
Reference in New Issue