ieee802154: Limit name space, add static.
Change-Id: Iaf33a902b90a649ebe8591c33798ad4e583ee33a Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
c8a359c039
commit
a7c5ec1150
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue