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:
parent
1b04403e7f
commit
870f0133f4
|
@ -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;
|
||||
int i;
|
||||
|
@ -91,8 +91,8 @@ static int phy_detect(uint8_t *base)
|
|||
if(i>32) {
|
||||
printk_debug("MCP55 MAC PHY not found\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static void nic_init(struct device *dev)
|
||||
{
|
||||
uint32_t dword, old;
|
||||
|
|
Loading…
Reference in New Issue