]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
sh: Don't set the sh-sci pdata UPF_BOOT_AUTOCONF flags
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Jan 2017 14:43:28 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 13:17:05 +0000 (14:17 +0100)
The flag is set by the driver internally, don't set it in platform data.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 files changed:
arch/sh/kernel/cpu/sh2/setup-sh7619.c
arch/sh/kernel/cpu/sh2a/setup-mxg.c
arch/sh/kernel/cpu/sh2a/setup-sh7201.c
arch/sh/kernel/cpu/sh2a/setup-sh7203.c
arch/sh/kernel/cpu/sh2a/setup-sh7206.c
arch/sh/kernel/cpu/sh2a/setup-sh7264.c
arch/sh/kernel/cpu/sh2a/setup-sh7269.c
arch/sh/kernel/cpu/sh3/setup-sh7705.c
arch/sh/kernel/cpu/sh3/setup-sh770x.c
arch/sh/kernel/cpu/sh3/setup-sh7710.c
arch/sh/kernel/cpu/sh3/setup-sh7720.c
arch/sh/kernel/cpu/sh4/setup-sh4-202.c
arch/sh/kernel/cpu/sh4/setup-sh7750.c
arch/sh/kernel/cpu/sh4/setup-sh7760.c
arch/sh/kernel/cpu/sh4a/setup-sh7343.c
arch/sh/kernel/cpu/sh4a/setup-sh7366.c
arch/sh/kernel/cpu/sh4a/setup-sh7722.c
arch/sh/kernel/cpu/sh4a/setup-sh7723.c
arch/sh/kernel/cpu/sh4a/setup-sh7724.c
arch/sh/kernel/cpu/sh4a/setup-sh7734.c
arch/sh/kernel/cpu/sh4a/setup-sh7757.c
arch/sh/kernel/cpu/sh4a/setup-sh7763.c
arch/sh/kernel/cpu/sh4a/setup-sh7770.c
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
arch/sh/kernel/cpu/sh4a/setup-sh7785.c
arch/sh/kernel/cpu/sh4a/setup-sh7786.c
arch/sh/kernel/cpu/sh4a/setup-shx3.c
arch/sh/kernel/cpu/sh5/setup-sh5.c

index f8a77bdad0a618b20e3e5d6c213c8e57e16e0cce..95796ad00fbefa282c67b28e39c96ae1b6495bb8 100644 (file)
@@ -61,7 +61,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL,
                         NULL, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -82,7 +81,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -103,7 +101,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index fc6f0677888d971b08f7ef979f55f4de81a66de9..060fdd369f098ce41ab631a05c6f817797e84826 100644 (file)
@@ -129,7 +129,6 @@ static struct platform_device mtu2_device = {
 };
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 5b5a670822070719cb361c2d3b9f26c711988490..c1301f68d3cd08e0277dbe3bae90209bb7722b3d 100644 (file)
@@ -178,7 +178,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7201", vectors, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -199,7 +198,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -220,7 +218,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -241,7 +238,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -262,7 +258,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -283,7 +278,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -304,7 +298,6 @@ static struct platform_device scif5_device = {
 };
 
 static struct plat_sci_port scif6_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -325,7 +318,6 @@ static struct platform_device scif6_device = {
 };
 
 static struct plat_sci_port scif7_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 146a7d9a20fd5482cc108fe6ee9b50d4938cd7b5..32ec732e28e5e9760868440f59851361acd4ad6c 100644 (file)
@@ -174,7 +174,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7203", vectors, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -196,7 +195,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -218,7 +216,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -240,7 +237,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
index c540fb8c9e09e0ab73456eee1c14e5fb8128f5da..8d8d354851ce375f8a09bf6b81994b90b0cc6d24 100644 (file)
@@ -134,7 +134,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7206", vectors, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -155,7 +154,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -176,7 +174,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -197,7 +194,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index aebaa7a4da46167f0dc57a079351c7ca12a971f5..ab71eab690fd4f3e8ac9f9c5262d6b7bb8ef6ca9 100644 (file)
@@ -226,7 +226,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7264", vectors, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -251,7 +250,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -276,7 +274,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -301,7 +298,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -326,7 +322,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -351,7 +346,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -376,7 +370,6 @@ static struct platform_device scif5_device = {
 };
 
 static struct plat_sci_port scif6_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -401,7 +394,6 @@ static struct platform_device scif6_device = {
 };
 
 static struct plat_sci_port scif7_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
index 6d7ac07b4e547bb0530d7d7920dd773397b99e28..c7e81b20967ca73fec526096f794470ee1fa6c49 100644 (file)
@@ -248,7 +248,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7269", vectors, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -273,7 +272,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -298,7 +296,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -323,7 +320,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -348,7 +344,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -373,7 +368,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -398,7 +392,6 @@ static struct platform_device scif5_device = {
 };
 
 static struct plat_sci_port scif6_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
@@ -423,7 +416,6 @@ static struct platform_device scif6_device = {
 };
 
 static struct plat_sci_port scif7_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
index 4f7b4f9b7d02600560eb9a272b40b91d0242af3d..a60edd8f3db730ec6165c22bfcea2c0fbb11dd6e 100644 (file)
@@ -70,7 +70,6 @@ static DECLARE_INTC_DESC(intc_desc, "sh7705", vectors, NULL,
                         NULL, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_CKE1 | SCSCR_CKE0,
        .type           = PORT_SCIF,
        .ops            = &sh770x_sci_port_ops,
@@ -93,7 +92,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCIF,
        .ops            = &sh770x_sci_port_ops,
        .regtype        = SCIx_SH7705_SCIF_REGTYPE,
index 06682ae414e2a03d6cc151d39f1a6885c4db3a14..e64fe24d860c9ccffbcee439138baa66717ff170 100644 (file)
@@ -110,7 +110,6 @@ static struct platform_device rtc_device = {
 
 static struct plat_sci_port scif0_platform_data = {
        .port_reg       = 0xa4000136,
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCI,
        .ops            = &sh770x_sci_port_ops,
        .regshift       = 1,
@@ -134,7 +133,6 @@ static struct platform_device scif0_device = {
     defined(CONFIG_CPU_SUBTYPE_SH7707) || \
     defined(CONFIG_CPU_SUBTYPE_SH7709)
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCIF,
        .ops            = &sh770x_sci_port_ops,
        .regtype        = SCIx_SH3_SCIF_REGTYPE,
@@ -159,7 +157,6 @@ static struct platform_device scif1_device = {
     defined(CONFIG_CPU_SUBTYPE_SH7709)
 static struct plat_sci_port scif2_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_IRDA,
        .ops            = &sh770x_sci_port_ops,
        .regshift       = 1,
index 6347f9625ed13e8a10b88b57acbc694ee0ded755..ac2a0aabcec50a3d9ed7ddd62f1ba2aec2619236 100644 (file)
@@ -98,7 +98,6 @@ static struct platform_device rtc_device = {
 };
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1 | SCSCR_CKE0,
        .type           = PORT_SCIF,
 };
@@ -119,7 +118,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1 | SCSCR_CKE0,
        .type           = PORT_SCIF,
 };
index d35400c76db73c8145181348cc04c51efff93b0c..bf34b4e2e9efeed062b07e4b1197b08f3ac3ae6a 100644 (file)
@@ -52,7 +52,6 @@ static struct platform_device rtc_device = {
 };
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCIF,
        .ops            = &sh7720_sci_port_ops,
        .regtype        = SCIx_SH7705_SCIF_REGTYPE,
@@ -74,7 +73,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCIF,
        .ops            = &sh7720_sci_port_ops,
        .regtype        = SCIx_SH7705_SCIF_REGTYPE,
index fa5f8e7b8150b4d9cc376b1240e4f598b268c01d..2623f820d510bde38a09bc1c7614cb64834885f9 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/io.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 9baabdaa214edf2d63731ac3a6b9cdba4d847665..f693f122a2860389cf3f9650a32961f05d73f356 100644 (file)
@@ -39,7 +39,6 @@ static struct platform_device rtc_device = {
 
 static struct plat_sci_port sci_platform_data = {
        .port_reg       = 0xffe0001C,
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCI,
        .regshift       = 2,
 };
@@ -60,7 +59,6 @@ static struct platform_device sci_device = {
 };
 
 static struct plat_sci_port scif_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index c94a8f74601356bbce11363684a96b9630100519..641b85865a633589d033367d85e214b5f196ada4 100644 (file)
@@ -128,7 +128,6 @@ static DECLARE_INTC_DESC(intc_desc_irq, "sh7760-irq", vectors_irq, groups,
                         mask_registers, prio_registers, NULL);
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -153,7 +152,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .type           = PORT_SCIF,
        .scscr          = SCSCR_REIE,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -178,7 +176,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -203,7 +200,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCI,
        .regshift       = 2,
index 9de7dc2f3c24f6edc400f2c9521b9f929ee18c76..5788073a7c306185a10578f7a1428ed7cd33b604 100644 (file)
@@ -18,7 +18,6 @@
 
 /* Serial */
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_CKE1,
        .type           = PORT_SCIF,
 };
@@ -39,7 +38,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_CKE1,
        .type           = PORT_SCIF,
 };
@@ -60,7 +58,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_CKE1,
        .type           = PORT_SCIF,
 };
@@ -81,7 +78,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_CKE1,
        .type           = PORT_SCIF,
 };
index d9a8f242e148780ca9e22cd703a70c92cb95d030..3fc1a3ab634e414f46ea48592b87090a905be861 100644 (file)
@@ -21,7 +21,6 @@
 
 static struct plat_sci_port scif0_platform_data = {
        .port_reg       = 0xa405013e,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 7d41261c5f6750403b249590e8fe1a5453fe7ca7..6b3a26e61abbddcacb01b13370d6c2e077ca40b3 100644 (file)
@@ -179,7 +179,6 @@ struct platform_device dma_device = {
 
 /* Serial */
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .ops            = &sh7722_sci_port_ops,
@@ -202,7 +201,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .ops            = &sh7722_sci_port_ops,
@@ -225,7 +223,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .ops            = &sh7722_sci_port_ops,
index 610571f174ee9b0a8ab81dc133585c528a7996e7..9f47ec950af8c65735542d246ac6be7752fe72d4 100644 (file)
@@ -24,7 +24,6 @@
 /* Serial */
 static struct plat_sci_port scif0_platform_data = {
        .port_reg       = 0xa4050160,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -47,7 +46,6 @@ static struct platform_device scif0_device = {
 
 static struct plat_sci_port scif1_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -70,7 +68,6 @@ static struct platform_device scif1_device = {
 
 static struct plat_sci_port scif2_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -92,7 +89,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .port_reg       = SCIx_NOT_SUPPORTED,
        .scscr          = SCSCR_REIE,
        .sampling_rate  = 8,
@@ -116,7 +112,6 @@ static struct platform_device scif3_device = {
 
 static struct plat_sci_port scif4_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .sampling_rate  = 8,
        .type           = PORT_SCIFA,
@@ -139,7 +134,6 @@ static struct platform_device scif4_device = {
 
 static struct plat_sci_port scif5_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .sampling_rate  = 8,
        .type           = PORT_SCIFA,
index 478a61f73b47ea6eeb3ff820e7fd0b4cc468703f..3ce55884c7878d998abba0cef3bff454b168ff67 100644 (file)
@@ -291,7 +291,6 @@ static struct platform_device dma1_device = {
 /* Serial */
 static struct plat_sci_port scif0_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -314,7 +313,6 @@ static struct platform_device scif0_device = {
 
 static struct plat_sci_port scif1_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -337,7 +335,6 @@ static struct platform_device scif1_device = {
 
 static struct plat_sci_port scif2_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_NO_SCSPTR_REGTYPE,
@@ -360,7 +357,6 @@ static struct platform_device scif2_device = {
 
 static struct plat_sci_port scif3_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .sampling_rate  = 8,
        .type           = PORT_SCIFA,
 };
@@ -382,7 +378,6 @@ static struct platform_device scif3_device = {
 
 static struct plat_sci_port scif4_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .sampling_rate  = 8,
        .type           = PORT_SCIFA,
 };
@@ -404,7 +399,6 @@ static struct platform_device scif4_device = {
 
 static struct plat_sci_port scif5_platform_data = {
        .port_reg       = SCIx_NOT_SUPPORTED,
-       .flags          = UPF_BOOT_AUTOCONF,
        .sampling_rate  = 8,
        .type           = PORT_SCIFA,
 };
index 51910a8d8df46fcf4ee870d63bd1a65969deda35..8c0c9da6b5b32899cb48597867a0b6c2bbe865da 100644 (file)
@@ -25,7 +25,6 @@
 
 /* SCIF */
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
@@ -47,7 +46,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
@@ -69,7 +67,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
@@ -91,7 +88,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
@@ -113,7 +109,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
@@ -135,7 +130,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_BRG_REGTYPE,
index b44061cb8540e6ed12868353e0ed60116a116a6d..a46a19b49e083566cd83f852818916d2326eed8b 100644 (file)
@@ -24,7 +24,6 @@
 #include <cpu/sh7757.h>
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -45,7 +44,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -66,7 +64,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 428c16526dcbfc2ff592f0b0262ffcc0d2a7e1be..40e6cda914d3af4d4098fd769e2e15f24294802f 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/usb/ohci_pdriver.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -41,7 +40,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -63,7 +61,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
index b2d3206e2704faa94790186052709696c56d321c..82e3bdf2e1b6bc12f985c0d6ac5ed3a0b798d066 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/io.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -37,7 +36,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -58,7 +56,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -79,7 +76,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -100,7 +96,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -121,7 +116,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -142,7 +136,6 @@ static struct platform_device scif5_device = {
 };
 
 static struct plat_sci_port scif6_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -163,7 +156,6 @@ static struct platform_device scif6_device = {
 };
 
 static struct plat_sci_port scif7_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -184,7 +176,6 @@ static struct platform_device scif7_device = {
 };
 
 static struct plat_sci_port scif8_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
@@ -205,7 +196,6 @@ static struct platform_device scif8_device = {
 };
 
 static struct plat_sci_port scif9_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_TOIE,
        .type           = PORT_SCIF,
 };
index 59282f760ca953a632ff5d3e143d2a0b7afae1b5..d90ff67a46331f0e72f2c2d93632b2f6677b5962 100644 (file)
@@ -18,7 +18,6 @@
 #include <cpu/dma-register.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -40,7 +39,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
index 22893c0f16623e44315fb2c0d091f9e2e218d875..b0d6f82f2d71bba804b7712b6b6696b2509d25cc 100644 (file)
@@ -20,7 +20,6 @@
 #include <cpu/dma-register.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -42,7 +41,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -64,7 +62,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -86,7 +83,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -108,7 +104,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -130,7 +125,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
index 32525e13aa266d397b5779815890b8c1558ef841..17aac38a6e904a1b91ffebaa3f35ef88104c4a8f 100644 (file)
@@ -28,7 +28,6 @@
 #include <asm/mmzone.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -56,7 +55,6 @@ static struct platform_device scif0_device = {
  * The rest of these all have multiplexed IRQs
  */
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -87,7 +85,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -109,7 +106,6 @@ static struct platform_device scif2_device = {
 };
 
 static struct plat_sci_port scif3_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -131,7 +127,6 @@ static struct platform_device scif3_device = {
 };
 
 static struct plat_sci_port scif4_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
@@ -153,7 +148,6 @@ static struct platform_device scif4_device = {
 };
 
 static struct plat_sci_port scif5_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE | SCSCR_CKE1,
        .type           = PORT_SCIF,
        .regtype        = SCIx_SH4_SCIF_FIFODATA_REGTYPE,
index 5495d669308639c326fa7fb3a4f65113b80bb2ba..ee14d92d840fb58ce1e507842fee835910853b8d 100644 (file)
@@ -28,7 +28,6 @@
  * all rather than adding infrastructure to hack around it.
  */
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -52,7 +51,6 @@ static struct platform_device scif0_device = {
 };
 
 static struct plat_sci_port scif1_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
@@ -76,7 +74,6 @@ static struct platform_device scif1_device = {
 };
 
 static struct plat_sci_port scif2_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };
index 5ce34bfd0b4ecac2d2ecec73d2f5eef476a5a300..084a9cc99175bfa0ad8861b4d163fa0f99f9825a 100644 (file)
@@ -17,7 +17,7 @@
 #include <asm/addrspace.h>
 
 static struct plat_sci_port scif0_platform_data = {
-       .flags          = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
+       .flags          = UPF_IOREMAP,
        .scscr          = SCSCR_REIE,
        .type           = PORT_SCIF,
 };