get rid of some more warnings..

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



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5516 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-04-30 19:21:01 +00:00 committed by Stefan Reinauer
parent a8d11a2032
commit c8873ce2a0
3 changed files with 7 additions and 2 deletions

View File

@ -342,9 +342,11 @@ static void southbridge_init(struct device *dev)
/* turn on keyboard and RTC, no need to visit this reg twice */
pc_keyboard_init(0);
printk(BIOS_DEBUG, "ps2 usb lid, you set who can wakeup system from s3 sleep\n");
S3_ps2_kb_ms_wakeup(dev);
S3_usb_wakeup(dev);
S3_lid_wakeup(dev);
/* enable acpi cpu c3 state. (c2 state need not do anything.)
#1

View File

@ -37,4 +37,7 @@ extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
void sb600_enable(device_t dev);
void sb600_lpc_port80(void);
void sb600_pci_port80(void);
#endif /* SB600_H */

View File

@ -213,7 +213,7 @@ void soft_reset(void)
outb(0x06, 0x0cf9);
}
static void sb600_pci_port80(void)
void sb600_pci_port80(void)
{
u8 byte;
device_t dev;
@ -258,7 +258,7 @@ static void sb600_pci_port80(void)
pci_write_config8(dev, 0x4A, byte);
}
static void sb600_lpc_port80(void)
void sb600_lpc_port80(void)
{
u8 byte;
device_t dev;