diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2016-10-26 05:54:53 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-26 20:51:02 +0000 |
commit | a7c5ec115067395f42cba29b035cf8c7926e11d9 (patch) | |
tree | 629376515d181b0f02bdda71d03298bd1ebd430c /drivers | |
parent | c8a359c0396dbac33b9a05b87df2abdf9f9d2854 (diff) |
ieee802154: Limit name space, add static.
Change-Id: Iaf33a902b90a649ebe8591c33798ad4e583ee33a
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee802154/ieee802154_cc2520.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee802154/ieee802154_cc2520.c b/drivers/ieee802154/ieee802154_cc2520.c index 5f30092f3..a4012d4b0 100644 --- a/drivers/ieee802154/ieee802154_cc2520.c +++ b/drivers/ieee802154/ieee802154_cc2520.c @@ -1130,7 +1130,7 @@ static inline int configure_spi(struct device *dev) return 0; } -int cc2520_init(struct device *dev) +static int cc2520_init(struct device *dev) { struct cc2520_context *cc2520 = dev->driver_data; @@ -1178,7 +1178,7 @@ int cc2520_init(struct device *dev) return 0; } -struct cc2520_context cc2520_context_data; +static struct cc2520_context cc2520_context_data; DEVICE_INIT(cc2520, CONFIG_TI_CC2520_DRV_NAME, cc2520_init, &cc2520_context_data, NULL, |