aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-06-29 21:02:32 +0000
committerStefan Reinauer <stepan@openbios.org>2010-06-29 21:02:32 +0000
commit9a82eebe1a60ed5e49fbfc14cbe006c320846f01 (patch)
tree14ed307b3066159ddcdce8a0f7fdb808bbade111 /src
parentfde6a4c4d74f1f217a39cbc54749563db442462e (diff)
fix misnamed functions.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5649 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/superio/smsc/lpc47m10x/lpc47m10x_early_serial.c6
-rw-r--r--src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c2
2 files changed, 4 insertions, 4 deletions
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);