summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-25 22:39:39 +0100
committerAnas Nashif <nashif@linux.intel.com>2016-10-26 20:51:05 +0000
commitab7a768a18d521fb59af22476a757de42a920743 (patch)
tree152634c9157e3a35ebf42ff4ba0440f2b57395cd /drivers
parent12c20ef37f66c728d75a9bde35e729550dc91517 (diff)
driver/eth_dw: Limit name space, add static.
Change-Id: If9de0bec8bafb66119e158782cf9618143dc2a52 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ethernet/eth_dw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ethernet/eth_dw.c b/drivers/ethernet/eth_dw.c
index ac9fe7bde..11a9dd332 100644
--- a/drivers/ethernet/eth_dw.c
+++ b/drivers/ethernet/eth_dw.c
@@ -142,7 +142,7 @@ static int eth_tx(struct device *port, struct net_buf *buf)
return 1;
}
-void eth_dw_isr(struct device *port)
+static void eth_dw_isr(struct device *port)
{
struct eth_runtime *context = port->driver_data;
uint32_t base_addr = context->base_addr;