diff options
author | Jean Delvare <[email protected]> | 2022-07-27 13:26:37 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-07-27 13:14:46 +0100 |
commit | 9cc0590ae351a354c51375a1ee22edc2e4931fd0 (patch) | |
tree | c42ca999d09e41d9fef273db64e455506ea336a6 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 4c7da3741804fc5631d94f4df24382ce6e88f02c (diff) |
regulator: mt6380: Fix unused array warning
With the following configuration options:
CONFIG_OF is not set
CONFIG_REGULATOR_MT6380=y
we get the following build warning:
CC drivers/regulator/mt6380-regulator.o
drivers/regulator/mt6380-regulator.c:322:34: warning: ‘mt6380_of_match’ defined but not used [-Wunused-const-variable=]
Fix this by annotating that array with __maybe_unused, as done in
various regulator drivers.
Signed-off-by: Jean Delvare <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Chenglin Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions