grove/temperature_sensor: Limit name space, add static.
Change-Id: I81167e7363aaaebfcf861a60af0f9fca214d3dec Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
dfaeb79996
commit
d8d5cb172d
|
@ -101,7 +101,7 @@ static int gts_init(struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct gts_data gts_data;
|
||||
static struct gts_data gts_data;
|
||||
|
||||
DEVICE_INIT(gts_dev, CONFIG_GROVE_TEMPERATURE_SENSOR_NAME, >s_init, >s_data,
|
||||
NULL, SECONDARY, CONFIG_SENSOR_INIT_PRIORITY);
|
||||
|
|
Loading…
Reference in a new issue