Author: stepan Date: Tue Nov 16 01:41:17 2010 New Revision: 6076 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6076
Log: back out parts of #6073
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c trunk/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c
Modified: trunk/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c ============================================================================== --- trunk/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c Mon Nov 15 22:09:57 2010 (r6075) +++ trunk/src/superio/smsc/lpc47m15x/lpc47m15x_early_serial.c Tue Nov 16 01:41:17 2010 (r6076) @@ -34,7 +34,7 @@ outb(0xaa, port); }
-static void lpc47m15x_enable_serial(device_t dev, u16 iobase) +static inline void lpc47m15x_enable_serial(device_t dev, u16 iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev);
Modified: trunk/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c ============================================================================== --- trunk/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c Mon Nov 15 22:09:57 2010 (r6075) +++ trunk/src/superio/smsc/smscsuperio/smscsuperio_early_serial.c Tue Nov 16 01:41:17 2010 (r6076) @@ -33,7 +33,7 @@ * @param dev The device to use. * @param iobase The I/O base of the serial port (usually 0x3f8/0x2f8). */ -static void smscsuperio_enable_serial(device_t dev, u16 iobase) +static inline void smscsuperio_enable_serial(device_t dev, u16 iobase) { u16 port = dev >> 8;