[PATCH] ARM: Fix non-standard PXA io_pg_offst initialisers
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 4 Jul 2005 09:44:34 +0000 (10:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2005 09:44:34 +0000 (10:44 +0100)
These didn't match my sed expression correctly, fix them up manually.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/poodle.c

index 276431bf1ce71ecaf2a41616688b829164807f1c..86b862f56e7e9ad046f0c374e156bb95eb990418 100644 (file)
@@ -289,7 +289,7 @@ static void __init corgi_map_io(void)
 MACHINE_START(CORGI, "SHARP Corgi")
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .fixup          = fixup_corgi,
        .map_io         = corgi_map_io,
        .init_irq       = corgi_init_irq,
@@ -302,7 +302,7 @@ MACHINE_END
 MACHINE_START(SHEPHERD, "SHARP Shepherd")
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .fixup          = fixup_corgi,
        .map_io         = corgi_map_io,
        .init_irq       = corgi_init_irq,
@@ -315,7 +315,7 @@ MACHINE_END
 MACHINE_START(HUSKY, "SHARP Husky")
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .fixup          = fixup_corgi,
        .map_io         = corgi_map_io,
        .init_irq       = corgi_init_irq,
index f82f5aad560a8cd79a75be1fd5ecb1632245e102..386e107b53cc754fd0e7dfe8dfa01ed57e94bc5d 100644 (file)
@@ -184,7 +184,7 @@ MACHINE_START(PXA_IDP, "Vibren PXA255 IDP")
        /* Maintainer: Vibren Technologies */
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .map_io         = idp_map_io,
        .init_irq       = idp_init_irq,
        .timer          = &pxa_timer,
index e30b7c62270d42ca30c2c6f2916a3431d283316c..6309853b59bef49deafd753b6166ceea032e7d8e 100644 (file)
@@ -271,7 +271,7 @@ MACHINE_START(LUBBOCK, "Intel DBPXA250 Development Platform (aka Lubbock)")
        /* Maintainer: MontaVista Software Inc. */
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .map_io         = lubbock_map_io,
        .init_irq       = lubbock_init_irq,
        .timer          = &pxa_timer,
index 5d2f76b6df0eb4db90f834ccbfac46a8562a9cef..827b7b5a5be84438e2f3ceb55c6603198dfee23e 100644 (file)
@@ -348,7 +348,7 @@ MACHINE_START(MAINSTONE, "Intel HCDDBBVA0 Development Platform (aka Mainstone)")
        /* Maintainer: MontaVista Software Inc. */
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .map_io         = mainstone_map_io,
        .init_irq       = mainstone_init_irq,
        .timer          = &pxa_timer,
index ebae969e8830a1e9dc9fc65b81f9013f34a0647a..0e4f6fab100a5456cb2d4bef67aa7ea5e7eb3109 100644 (file)
@@ -182,7 +182,7 @@ static void __init poodle_map_io(void)
 MACHINE_START(POODLE, "SHARP Poodle")
        .phys_ram       = 0xa0000000,
        .phys_io        = 0x40000000,
-       .io_pg_offst    = ((io_p2v(0x40000000) >> 18) & 0xfffc,)
+       .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
        .fixup          = fixup_poodle,
        .map_io         = poodle_map_io,
        .init_irq       = pxa_init_irq,