sensor/lps25hb: Limit name space add static.

Change-Id: I707fd3666f27a982f9b4ef0facf7a3a211db8914
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-11-27 10:22:28 +00:00
commit f112e8e9bc

View file

@ -160,7 +160,7 @@ err_poweroff:
return -EIO;
}
int lps25hb_init(struct device *dev)
static int lps25hb_init(struct device *dev)
{
const struct lps25hb_config * const config = dev->config->config_info;
struct lps25hb_data *data = dev->driver_data;
@ -187,7 +187,7 @@ static const struct lps25hb_config lps25hb_config = {
.i2c_slave_addr = CONFIG_LPS25HB_I2C_ADDR,
};
struct lps25hb_data lps25hb_data;
static struct lps25hb_data lps25hb_data;
DEVICE_INIT(lps25hb, CONFIG_LPS25HB_DEV_NAME, lps25hb_init,
&lps25hb_data, &lps25hb_config, NANOKERNEL,