ieee802154: Limit name space, add static.

Change-Id: Iaf33a902b90a649ebe8591c33798ad4e583ee33a
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-26 05:54:53 +01:00 committed by Anas Nashif
commit a7c5ec1150

View file

@ -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,