From 870f0133f4dd6ee35d1cc54924f5339a23048f5e Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 28 Apr 2009 14:49:50 +0000 Subject: fix warning: no return statement in function returning non-void Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4226 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/nvidia/mcp55/mcp55_nic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/southbridge') 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; -- cgit v1.2.3