sensor/bmg160: Make driver config_info structure const.

Change-Id: If39f09baa757623ea9ed550df0809b863b1cb8a2
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-19 22:21:02 +01:00 committed by Kumar Gala
commit 4577987ba7

View file

@ -349,7 +349,7 @@ int bmg160_init(struct device *dev)
return 0;
}
struct bmg160_device_config bmg160_config = {
const struct bmg160_device_config bmg160_config = {
.i2c_port = CONFIG_BMG160_I2C_PORT_NAME,
.i2c_addr = CONFIG_BMG160_I2C_ADDR,
.i2c_speed = BMG160_BUS_SPEED,