summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--board/at91sam9260ek/init.c1
-rw-r--r--board/freescale-mx35-3-stack/3stack.c1
-rw-r--r--board/imx21ads/imx21ads.c1
-rw-r--r--board/imx27ads/imx27ads.c1
-rw-r--r--board/ipe337/ipe337.c1
-rw-r--r--board/kp_ukd_r1_num/kp_ukd_r1_num.c1
-rw-r--r--board/mmccpu/init.c1
-rw-r--r--board/netx/netx.c1
-rw-r--r--board/omap/board-beagle.c1
-rw-r--r--board/omap/board-sdp343x.c1
-rw-r--r--board/pcm030/pcm030.c2
-rw-r--r--board/pcm037/pcm037.c1
-rw-r--r--board/pcm038/pcm038.c1
-rw-r--r--board/pcm043/pcm043.c1
-rw-r--r--board/phycard-i.MX27/pca100.c1
-rw-r--r--board/phycore_mcf54xx/phyCore_MCF54xx.c1
-rw-r--r--board/pm9263/init.c1
-rw-r--r--board/sandbox/console.c1
-rw-r--r--board/scb9328/scb9328.c1
-rw-r--r--drivers/serial/atmel.c1
-rw-r--r--drivers/serial/linux_console.c1
-rw-r--r--drivers/serial/serial_blackfin.c1
-rw-r--r--drivers/serial/serial_imx.c1
-rw-r--r--drivers/serial/serial_mpc5xxx.c1
-rw-r--r--drivers/serial/serial_netx.c1
-rw-r--r--drivers/serial/serial_ns16550.c1
26 files changed, 0 insertions, 27 deletions
diff --git a/board/at91sam9260ek/init.c b/board/at91sam9260ek/init.c
index 0e744d234b..f6fb684d74 100644
--- a/board/at91sam9260ek/init.c
+++ b/board/at91sam9260ek/init.c
@@ -114,7 +114,6 @@ static struct device_d at91sam9260ek_serial_device = {
.id = "cs0",
.map_base = AT91C_BASE_DBGU,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int at91sam9260ek_console_init(void)
diff --git a/board/freescale-mx35-3-stack/3stack.c b/board/freescale-mx35-3-stack/3stack.c
index 0b43896f83..408ddf7f03 100644
--- a/board/freescale-mx35-3-stack/3stack.c
+++ b/board/freescale-mx35-3-stack/3stack.c
@@ -107,7 +107,6 @@ static struct device_d f3s_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static struct pad_desc f3s_pads[] = {
diff --git a/board/imx21ads/imx21ads.c b/board/imx21ads/imx21ads.c
index 550c3f0c0c..93b68ad680 100644
--- a/board/imx21ads/imx21ads.c
+++ b/board/imx21ads/imx21ads.c
@@ -140,7 +140,6 @@ static struct device_d mx21ads_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mx21ads_console_init(void)
diff --git a/board/imx27ads/imx27ads.c b/board/imx27ads/imx27ads.c
index 9a19794a93..b9543df2d1 100644
--- a/board/imx27ads/imx27ads.c
+++ b/board/imx27ads/imx27ads.c
@@ -150,7 +150,6 @@ static struct device_d mx27ads_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mx27ads_console_init(void)
diff --git a/board/ipe337/ipe337.c b/board/ipe337/ipe337.c
index dabb3bfdd8..ea949b1274 100644
--- a/board/ipe337/ipe337.c
+++ b/board/ipe337/ipe337.c
@@ -54,7 +54,6 @@ static struct device_d blackfin_serial_device = {
.id = "cs0",
.map_base = 0,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int blackfin_console_init(void)
diff --git a/board/kp_ukd_r1_num/kp_ukd_r1_num.c b/board/kp_ukd_r1_num/kp_ukd_r1_num.c
index 05a61cf23b..64f2e7aaae 100644
--- a/board/kp_ukd_r1_num/kp_ukd_r1_num.c
+++ b/board/kp_ukd_r1_num/kp_ukd_r1_num.c
@@ -139,7 +139,6 @@ static struct device_d mcfv4e_serial_device = {
.id = "cs0",
.map_base = 1+CFG_EARLY_UART_PORT,
.size = 16 * 1024,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mcfv4e_console_init(void)
diff --git a/board/mmccpu/init.c b/board/mmccpu/init.c
index c9779c6901..b51da70941 100644
--- a/board/mmccpu/init.c
+++ b/board/mmccpu/init.c
@@ -121,7 +121,6 @@ static struct device_d mmccpu_serial_device = {
.id = "cs0",
.map_base = AT91C_BASE_DBGU,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mmccpu_console_init(void)
diff --git a/board/netx/netx.c b/board/netx/netx.c
index b03817d9c7..968d37ae49 100644
--- a/board/netx/netx.c
+++ b/board/netx/netx.c
@@ -94,7 +94,6 @@ static struct device_d netx_serial_device = {
.id = "cs0",
.map_base = NETX_PA_UART0,
.size = 0x40,
- .type = DEVICE_TYPE_CONSOLE,
};
static int netx_console_init(void)
diff --git a/board/omap/board-beagle.c b/board/omap/board-beagle.c
index e7c7ecb1a6..58adc3ed18 100644
--- a/board/omap/board-beagle.c
+++ b/board/omap/board-beagle.c
@@ -220,7 +220,6 @@ static struct device_d beagle_serial_device = {
.map_base = OMAP_UART3_BASE,
.size = 1024,
.platform_data = (void *)&serial_plat,
- .type = DEVICE_TYPE_CONSOLE,
};
/**
diff --git a/board/omap/board-sdp343x.c b/board/omap/board-sdp343x.c
index c7d4151e9f..96ecb98256 100644
--- a/board/omap/board-sdp343x.c
+++ b/board/omap/board-sdp343x.c
@@ -609,7 +609,6 @@ static struct device_d sdp3430_serial_device = {
.map_base = OMAP_UART3_BASE,
.size = 1024,
.platform_data = (void *)&serial_plat,
- .type = DEVICE_TYPE_CONSOLE,
};
/**
diff --git a/board/pcm030/pcm030.c b/board/pcm030/pcm030.c
index 9da936986e..73f1baecd3 100644
--- a/board/pcm030/pcm030.c
+++ b/board/pcm030/pcm030.c
@@ -99,7 +99,6 @@ static struct device_d psc3 = {
.id = "psc3",
.map_base = MPC5XXX_PSC3,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static struct device_d psc6 = {
@@ -107,7 +106,6 @@ static struct device_d psc6 = {
.id = "psc6",
.map_base = MPC5XXX_PSC6,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int console_init(void)
diff --git a/board/pcm037/pcm037.c b/board/pcm037/pcm037.c
index 37bc0f69fa..e2ac8b1bbd 100644
--- a/board/pcm037/pcm037.c
+++ b/board/pcm037/pcm037.c
@@ -288,7 +288,6 @@ static struct device_d imx31_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 16 * 1024,
- .type = DEVICE_TYPE_CONSOLE,
};
static int imx31_console_init(void)
diff --git a/board/pcm038/pcm038.c b/board/pcm038/pcm038.c
index 136580679e..25ef69c337 100644
--- a/board/pcm038/pcm038.c
+++ b/board/pcm038/pcm038.c
@@ -205,7 +205,6 @@ static struct device_d pcm038_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int pcm038_console_init(void)
diff --git a/board/pcm043/pcm043.c b/board/pcm043/pcm043.c
index 4e225c53a1..e8523b7db7 100644
--- a/board/pcm043/pcm043.c
+++ b/board/pcm043/pcm043.c
@@ -123,7 +123,6 @@ static struct device_d imx35_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 16 * 1024,
- .type = DEVICE_TYPE_CONSOLE,
};
static struct pad_desc pcm043_pads[] = {
diff --git a/board/phycard-i.MX27/pca100.c b/board/phycard-i.MX27/pca100.c
index ba1ff5687c..00bbeb426f 100644
--- a/board/phycard-i.MX27/pca100.c
+++ b/board/phycard-i.MX27/pca100.c
@@ -143,7 +143,6 @@ static struct device_d pca100_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int pca100_console_init(void)
diff --git a/board/phycore_mcf54xx/phyCore_MCF54xx.c b/board/phycore_mcf54xx/phyCore_MCF54xx.c
index c666f467bb..2b0b52f1d5 100644
--- a/board/phycore_mcf54xx/phyCore_MCF54xx.c
+++ b/board/phycore_mcf54xx/phyCore_MCF54xx.c
@@ -118,7 +118,6 @@ static struct device_d mcfv4e_serial_device =
.id = "cs0",
.map_base = 1 + CFG_EARLY_UART_PORT,
.size = 16 * 1024,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mcfv4e_console_init(void)
diff --git a/board/pm9263/init.c b/board/pm9263/init.c
index 724eb4676a..29a87d7e47 100644
--- a/board/pm9263/init.c
+++ b/board/pm9263/init.c
@@ -112,7 +112,6 @@ static struct device_d pm9263_serial_device = {
.id = "cs0",
.map_base = AT91C_BASE_DBGU,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int pm9263_console_init(void)
diff --git a/board/sandbox/console.c b/board/sandbox/console.c
index 0f54e19231..a3d2ce93c6 100644
--- a/board/sandbox/console.c
+++ b/board/sandbox/console.c
@@ -48,7 +48,6 @@ int u_boot_register_console(char *name_template, int stdinfd, int stdoutfd)
data->stdinfd = stdinfd;
get_free_deviceid(dev->id, name_template);
- dev->type = DEVICE_TYPE_CONSOLE;
return register_device(dev);
}
diff --git a/board/scb9328/scb9328.c b/board/scb9328/scb9328.c
index 39edce1efd..72938de6d7 100644
--- a/board/scb9328/scb9328.c
+++ b/board/scb9328/scb9328.c
@@ -112,7 +112,6 @@ static struct device_d scb9328_serial_device = {
.id = "cs0",
.map_base = IMX_UART1_BASE,
.size = 4096,
- .type = DEVICE_TYPE_CONSOLE,
};
static int scb9328_console_init(void)
diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c
index bb99de3366..3901835c16 100644
--- a/drivers/serial/atmel.c
+++ b/drivers/serial/atmel.c
@@ -399,7 +399,6 @@ static int atmel_serial_probe(struct device_d *dev)
static struct driver_d atmel_serial_driver = {
.name = "atmel_serial",
.probe = atmel_serial_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
static int atmel_serial_init(void)
diff --git a/drivers/serial/linux_console.c b/drivers/serial/linux_console.c
index 2faf8b55a5..39ff862729 100644
--- a/drivers/serial/linux_console.c
+++ b/drivers/serial/linux_console.c
@@ -81,7 +81,6 @@ static int linux_console_probe(struct device_d *dev)
static struct driver_d linux_console_driver = {
.name = "console",
.probe = linux_console_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
static int console_init(void)
diff --git a/drivers/serial/serial_blackfin.c b/drivers/serial/serial_blackfin.c
index 1afa5bad9e..2101b7e035 100644
--- a/drivers/serial/serial_blackfin.c
+++ b/drivers/serial/serial_blackfin.c
@@ -134,7 +134,6 @@ static int blackfin_serial_probe(struct device_d *dev)
static struct driver_d blackfin_serial_driver = {
.name = "blackfin_serial",
.probe = blackfin_serial_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
static int blackfin_serial_init(void)
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index adb85ef2cd..f27c6100dd 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -347,7 +347,6 @@ static struct driver_d imx_serial_driver = {
.name = "imx_serial",
.probe = imx_serial_probe,
.remove = imx_serial_remove,
- .type = DEVICE_TYPE_CONSOLE,
};
static int imx_serial_init(void)
diff --git a/drivers/serial/serial_mpc5xxx.c b/drivers/serial/serial_mpc5xxx.c
index b394d4292b..a86c655bc8 100644
--- a/drivers/serial/serial_mpc5xxx.c
+++ b/drivers/serial/serial_mpc5xxx.c
@@ -170,7 +170,6 @@ static int mpc5xxx_serial_probe(struct device_d *dev)
static struct driver_d mpc5xxx_serial_driver = {
.name = "mpc5xxx_serial",
.probe = mpc5xxx_serial_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
static int mpc5xxx_serial_register(void)
diff --git a/drivers/serial/serial_netx.c b/drivers/serial/serial_netx.c
index a66619477b..aeadf987f5 100644
--- a/drivers/serial/serial_netx.c
+++ b/drivers/serial/serial_netx.c
@@ -162,7 +162,6 @@ static int netx_serial_probe(struct device_d *dev)
static struct driver_d netx_serial_driver = {
.name = "netx_serial",
.probe = netx_serial_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
static int netx_serial_init(void)
diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index 077429be8f..0dc389c5c6 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -235,7 +235,6 @@ static int ns16550_probe(struct device_d *dev)
static struct driver_d ns16550_serial_driver = {
.name = "serial_ns16550",
.probe = ns16550_probe,
- .type = DEVICE_TYPE_CONSOLE,
};
/**