From: Thomas Chou Date: Fri, 9 Oct 2015 01:28:20 +0000 (+0800) Subject: serial: remove altera serial initializations X-Git-Tag: v2016.01-rc1~204 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e2da4c67dc1adc43a2d1417d8595bb2543ecfe6;p=u-boot serial: remove altera serial initializations Both altera_jtag_serial_initialize() and altera_serial_initialize() are no longer used after they are converted to driver model. Signed-off-by: Thomas Chou Acked-by: Simon Glass Acked-by: Marek Vasut --- diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 699c410d66..422d3aedc3 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -109,8 +109,6 @@ U_BOOT_ENV_CALLBACK(baudrate, on_baudrate); void name(void) \ __attribute__((weak, alias("serial_null"))); -serial_initfunc(altera_jtag_serial_initialize); -serial_initfunc(altera_serial_initialize); serial_initfunc(amirix_serial_initialize); serial_initfunc(arc_serial_initialize); serial_initfunc(arm_dcc_initialize); @@ -202,8 +200,6 @@ void serial_register(struct serial_device *dev) */ void serial_initialize(void) { - altera_jtag_serial_initialize(); - altera_serial_initialize(); amirix_serial_initialize(); arc_serial_initialize(); arm_dcc_initialize(); diff --git a/include/serial.h b/include/serial.h index de40e9406f..e490f9a0cf 100644 --- a/include/serial.h +++ b/include/serial.h @@ -164,8 +164,6 @@ struct serial_dev_priv { /* Access the serial operations for a device */ #define serial_get_ops(dev) ((struct dm_serial_ops *)(dev)->driver->ops) -void altera_jtag_serial_initialize(void); -void altera_serial_initialize(void); void amirix_serial_initialize(void); void arc_serial_initialize(void); void arm_dcc_initialize(void);