fix warning: no return statement in function returning non-void

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



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4226 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-04-28 14:49:50 +00:00 committed by Stefan Reinauer
parent 1b04403e7f
commit 870f0133f4

View File

@ -56,7 +56,7 @@ static int phy_read(uint8_t *base, unsigned phy_addr, unsigned phy_reg)
} }
static int phy_detect(uint8_t *base) static void phy_detect(uint8_t *base)
{ {
uint32_t dword; uint32_t dword;
int i; int i;
@ -91,8 +91,8 @@ static int phy_detect(uint8_t *base)
if(i>32) { if(i>32) {
printk_debug("MCP55 MAC PHY not found\n"); printk_debug("MCP55 MAC PHY not found\n");
} }
} }
static void nic_init(struct device *dev) static void nic_init(struct device *dev)
{ {
uint32_t dword, old; uint32_t dword, old;