summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-25 22:38:40 +0100
committerAnas Nashif <nashif@linux.intel.com>2016-10-26 20:51:04 +0000
commit741d4751b295066debbc4dd4ab49ce61723cce05 (patch)
treeb683d483e07a7c982e96f6284226e57781cbd149 /drivers
parentb70feefaf46506e90841f82484daf9990abcdbb2 (diff)
driver/enc28j60: Limit name space, add static.
Change-Id: Ibf03dbb5134df81ca26aebe1e0518f1973789952 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ethernet/eth_enc28j60.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ethernet/eth_enc28j60.c b/drivers/ethernet/eth_enc28j60.c
index ed3625e7a..84136afb0 100644
--- a/drivers/ethernet/eth_enc28j60.c
+++ b/drivers/ethernet/eth_enc28j60.c
@@ -574,8 +574,8 @@ done:
return 0;
}
-void eth_enc28j60_reg_cb(struct device *dev,
- void (*cb)(uint8_t *buffer, uint16_t len))
+static void eth_enc28j60_reg_cb(struct device *dev,
+ void (*cb)(uint8_t *buffer, uint16_t len))
{
struct eth_enc28j60_runtime *context = dev->driver_data;