summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/nvidia/mcp55')
-rw-r--r--src/southbridge/nvidia/mcp55/mcp55_nic.c4
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;