sensor/hp206c: Limit namespace, add static.
Change-Id: I08d0029fae70434794e09a7c9563383d1db58fe0 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
a2e91dadb3
commit
1a13bb8c40
1 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ static int hp206c_channel_get(struct device *dev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct sensor_driver_api hp206c_api = {
|
||||
static const struct sensor_driver_api hp206c_api = {
|
||||
.attr_set = hp206c_attr_set,
|
||||
#ifdef CONFIG_HP206C_TRIGGER
|
||||
.trigger_set = hp206c_trigger_set,
|
||||
|
@ -303,7 +303,7 @@ const struct sensor_driver_api hp206c_api = {
|
|||
.channel_get = hp206c_channel_get,
|
||||
};
|
||||
|
||||
int hp206c_init(struct device *dev)
|
||||
static int hp206c_init(struct device *dev)
|
||||
{
|
||||
struct hp206c_device_data *hp206c = dev->driver_data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue