Get rid of DEVICE_TYPE_CONSOLE usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
8a1d5e11bb
commit
ae302919c6
|
@ -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)
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue