diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-01-04 19:54:35 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2022-03-08 12:44:05 +0300 |
commit | 10377bb293358c4fe06204ed596264f69f85102a (patch) | |
tree | 98c92e43269f5b828385dc57d8832edd63e7a67f /drivers/mfd/arizona-spi.c | |
parent | b0e846248de5bd57e4b785791f359ecb8f2d7311 (diff) | |
download | linux-10377bb293358c4fe06204ed596264f69f85102a.tar.xz |
mfd: arizona: Add missing statics to the of_match_tables
When the match tables were split for I2C and SPI a static should have
been added since the tables are no longer exported.
Fixes: 3f65555c417c ("mfd: arizona: Split of_match table into I2C and SPI versions")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220104165435.26782-1-ckeepax@opensource.cirrus.com
Diffstat (limited to 'drivers/mfd/arizona-spi.c')
-rw-r--r-- | drivers/mfd/arizona-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c index 9fe06dda3782..98c87d3bd00f 100644 --- a/drivers/mfd/arizona-spi.c +++ b/drivers/mfd/arizona-spi.c @@ -226,7 +226,7 @@ static const struct spi_device_id arizona_spi_ids[] = { MODULE_DEVICE_TABLE(spi, arizona_spi_ids); #ifdef CONFIG_OF -const struct of_device_id arizona_spi_of_match[] = { +static const struct of_device_id arizona_spi_of_match[] = { { .compatible = "wlf,wm5102", .data = (void *)WM5102 }, { .compatible = "wlf,wm5110", .data = (void *)WM5110 }, { .compatible = "wlf,wm8280", .data = (void *)WM8280 }, |