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:
parent
07fd1b7746
commit
4577987ba7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue