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:
Marcus Shawcroft 2016-10-26 05:53:08 +01:00 committed by Anas Nashif
parent dfaeb79996
commit d8d5cb172d

View file

@ -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, &gts_init, &gts_data,
NULL, SECONDARY, CONFIG_SENSOR_INIT_PRIORITY);