aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-mcp23s08.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c
index 99a68310e7c0..d7f384f9cde0 100644
--- a/drivers/gpio/gpio-mcp23s08.c
+++ b/drivers/gpio/gpio-mcp23s08.c
@@ -714,7 +714,7 @@ fail:
714 714
715#ifdef CONFIG_OF 715#ifdef CONFIG_OF
716#ifdef CONFIG_SPI_MASTER 716#ifdef CONFIG_SPI_MASTER
717static struct of_device_id mcp23s08_spi_of_match[] = { 717static const struct of_device_id mcp23s08_spi_of_match[] = {
718 { 718 {
719 .compatible = "microchip,mcp23s08", 719 .compatible = "microchip,mcp23s08",
720 .data = (void *) MCP_TYPE_S08, 720 .data = (void *) MCP_TYPE_S08,
@@ -738,7 +738,7 @@ MODULE_DEVICE_TABLE(of, mcp23s08_spi_of_match);
738#endif 738#endif
739 739
740#if IS_ENABLED(CONFIG_I2C) 740#if IS_ENABLED(CONFIG_I2C)
741static struct of_device_id mcp23s08_i2c_of_match[] = { 741static const struct of_device_id mcp23s08_i2c_of_match[] = {
742 { 742 {
743 .compatible = "microchip,mcp23008", 743 .compatible = "microchip,mcp23008",
744 .data = (void *) MCP_TYPE_008, 744 .data = (void *) MCP_TYPE_008,