drivers/gpio_pcal9535a: Make driver_api structure const.
Change-Id: Ifed95143422537ad82bfaa907874b1e33e782fb5 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
ce1406ffbb
commit
3385b7a074
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ static int gpio_pcal9535a_disable_callback(struct device *dev,
|
|||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
static struct gpio_driver_api gpio_pcal9535a_drv_api_funcs = {
|
||||
static const struct gpio_driver_api gpio_pcal9535a_drv_api_funcs = {
|
||||
.config = gpio_pcal9535a_config,
|
||||
.write = gpio_pcal9535a_write,
|
||||
.read = gpio_pcal9535a_read,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue