diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-05-07 14:28:03 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-05-10 10:48:17 +0300 |
commit | 466ba3c8ff4fae39e455ff8d080b3d5503302765 (patch) | |
tree | 36de90fde9d4ce2ac38c072e6788487fbd646d7d /mm/cma_debug.c | |
parent | 6ab9d6219f86f0db916105444813aafce626a2f4 (diff) | |
download | linux-466ba3c8ff4fae39e455ff8d080b3d5503302765.tar.xz |
reset: a10sr: add missing of_match_table reference
The driver defined of_device_id table but did not use it with
of_match_table. This prevents usual matching via devicetree and causes
a W=1 warning:
drivers/reset/reset-a10sr.c:111:34: warning:
‘a10sr_reset_of_match’ defined but not used [-Wunused-const-variable=]
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 627006820268 ("reset: Add Altera Arria10 SR Reset Controller")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210507112803.20012-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions