projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b742f
)
ARM: S3C24XX: Use common macro to define resources on mach-amlm5900.c
author
Tushar Behera
<tushar.behera@linaro.org>
Sat, 12 May 2012 07:12:20 +0000
(16:12 +0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Sat, 12 May 2012 07:12:20 +0000
(16:12 +0900)
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>
arch/arm/mach-s3c24xx/mach-amlm5900.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s3c24xx/mach-amlm5900.c
b/arch/arm/mach-s3c24xx/mach-amlm5900.c
index 4220cc60de3c6df3b4887b0fcb5a8018c577b542..ea2c4b003d58d93a3c8b0633ef376b75c793e955 100644
(file)
--- a/
arch/arm/mach-s3c24xx/mach-amlm5900.c
+++ b/
arch/arm/mach-s3c24xx/mach-amlm5900.c
@@
-65,13
+65,8
@@
#include "common.h"
-static struct resource amlm5900_nor_resource = {
- .start = 0x00000000,
- .end = 0x01000000 - 1,
- .flags = IORESOURCE_MEM,
-};
-
-
+static struct resource amlm5900_nor_resource =
+ DEFINE_RES_MEM(0x00000000, SZ_16M);
static struct mtd_partition amlm5900_mtd_partitions[] = {
{