From 9a82eebe1a60ed5e49fbfc14cbe006c320846f01 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 29 Jun 2010 21:02:32 +0000 Subject: fix misnamed functions. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5649 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c | 6 +++--- src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c b/src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c index 3d17d2d5cd..048a8d314d 100644 --- a/src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c +++ b/src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c @@ -47,15 +47,15 @@ static void pnp_exit_conf_state(device_t dev) } /* - * Function: lpc47b272_enable_serial + * Function: lpc47m10x_enable_serial * Parameters: dev - high 8 bits = Super I/O port, - * low 8 bits = logical device number (per lpc47b272.h) + * low 8 bits = logical device number (per lpc47m10x.h) * iobase - processor I/O port address to assign to this serial device * Return Value: bool * Description: Configure the base I/O port of the specified serial device * and enable the serial device. */ -static void lpc47b272_enable_serial(device_t dev, unsigned iobase) +static void lpc47m10x_enable_serial(device_t dev, unsigned iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev); diff --git a/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c b/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c index 3e73979458..b252fd8e66 100644 --- a/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c +++ b/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c @@ -34,7 +34,7 @@ static void pnp_exit_conf_state(device_t dev) outb(0xaa, port); } -static inline void lpc47b272_enable_serial(device_t dev, unsigned iobase) +static inline void lpc47m15x_enable_serial(device_t dev, unsigned iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev); -- cgit v1.2.3