Author: stepan Date: 2009-04-28 16:49:50 +0200 (Tue, 28 Apr 2009) New Revision: 4226
Modified: trunk/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_nic.c Log: 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
Modified: trunk/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_nic.c =================================================================== --- trunk/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_nic.c 2009-04-28 14:49:21 UTC (rev 4225) +++ trunk/coreboot-v2/src/southbridge/nvidia/mcp55/mcp55_nic.c 2009-04-28 14:49:50 UTC (rev 4226) @@ -56,7 +56,7 @@
}
-static int phy_detect(uint8_t *base) +static void phy_detect(uint8_t *base) { uint32_t dword; int i; @@ -91,8 +91,8 @@ if(i>32) { printk_debug("MCP55 MAC PHY not found\n"); } +}
-} static void nic_init(struct device *dev) { uint32_t dword, old;