back out parts of #6073

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-11-16 00:41:17 +00:00 committed by Stefan Reinauer
parent 20c3d77d98
commit 0f02daf19b
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ static void pnp_exit_conf_state(device_t dev)
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);

View File

@ -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;