drivers/isl29035: Make driver_api structure const.

Change-Id: If1d0adeee94663d84049bd8de0de529672ce4dbf
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-24 08:32:45 +01:00 committed by Anas Nashif
commit 94e460a92c

View file

@ -69,7 +69,7 @@ static int isl29035_channel_get(struct device *dev,
return 0;
}
static struct sensor_driver_api isl29035_api = {
static const struct sensor_driver_api isl29035_api = {
#if CONFIG_ISL29035_TRIGGER
.attr_set = &isl29035_attr_set,
.trigger_set = &isl29035_trigger_set,