diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-28 14:49:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-28 14:49:50 +0000 |
commit | 870f0133f4dd6ee35d1cc54924f5339a23048f5e (patch) | |
tree | ed423814a7bed62d405fab726eea7a3161b7b7c9 /src/southbridge/nvidia | |
parent | 1b04403e7f7145a60300d869c0a883b55dbd347c (diff) | |
download | coreboot-870f0133f4dd6ee35d1cc54924f5339a23048f5e.tar.xz |
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
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r-- | src/southbridge/nvidia/mcp55/mcp55_nic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/mcp55/mcp55_nic.c b/src/southbridge/nvidia/mcp55/mcp55_nic.c index 89f9d0bbe8..839c05bf46 100644 --- a/src/southbridge/nvidia/mcp55/mcp55_nic.c +++ b/src/southbridge/nvidia/mcp55/mcp55_nic.c @@ -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; |