r1027 - trunk/src/target/kernel/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Sat Feb 17 13:41:58 CET 2007


Author: laforge
Date: 2007-02-17 13:41:58 +0100 (Sat, 17 Feb 2007)
New Revision: 1027

Modified:
   trunk/src/target/kernel/patches/gta01-core.patch
Log:
Tidy the initialisers in mach-gta01.c and use named
initialisers for the struct

Signed-off-by: Ben Dooks <ben-linux at fluff.org>


Modified: trunk/src/target/kernel/patches/gta01-core.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-core.patch	2007-02-17 12:40:08 UTC (rev 1026)
+++ trunk/src/target/kernel/patches/gta01-core.patch	2007-02-17 12:41:58 UTC (rev 1027)
@@ -33,8 +33,8 @@
 Index: linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 13:39:38.000000000 +0100
-@@ -0,0 +1,486 @@
++++ linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 13:40:46.000000000 +0100
+@@ -0,0 +1,491 @@
 +/*
 + * linux/arch/arm/mach-s3c2410/mach-gta01.c
 + *
@@ -106,7 +106,12 @@
 +#include "pm.h"
 +
 +static struct map_desc gta01_iodesc[] __initdata = {
-+	{ 0xe0000000, __phys_to_pfn(S3C2410_CS3+0x01000000), SZ_1M, MT_DEVICE }
++	{
++		.virtual	= 0xe0000000,
++		.pfn		= __phys_to_pfn(S3C2410_CS3+0x01000000),
++		.length		= SZ_1M,
++		.type		= MT_DEVICE
++	},
 +};
 +
 +#define UCON S3C2410_UCON_DEFAULT





More information about the commitlog mailing list