diff options
| author | Eugen Hristev <eugen.hristev@microchip.com> | 2020-06-12 12:56:02 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-04 11:56:20 +0200 |
| commit | 6fce59ac719f9adeeed2556ed74e23a607f931e8 (patch) | |
| tree | 674a3ad8d1bc8eb29a2c2d7801cda3438bb170d9 /tools/perf/scripts/python/bin | |
| parent | 7cd08d6eed2772e5ac759063a0287c5ff4551a91 (diff) | |
| download | linux-6fce59ac719f9adeeed2556ed74e23a607f931e8.tar.gz linux-6fce59ac719f9adeeed2556ed74e23a607f931e8.zip | |
media: atmel: atmel-sama5d2-isc: fix warning in configs without OF
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/media/platform/atmel/atmel-sama5d2-isc.c:323:34: warning: unused variable 'atmel_isc_of_match' [-Wunused-const-variable]
static const struct of_device_id atmel_isc_of_match[] = {
^
1 warning generated.
vim +/atmel_isc_of_match +323 drivers/media/platform/atmel/atmel-sama5d2-isc.c
322
> 323 static const struct of_device_id atmel_isc_of_match[] = {
324 { .compatible = "atmel,sama5d2-isc" },
325 { }
326 };
327 MODULE_DEVICE_TABLE(of, atmel_isc_of_match);
328
Fixed warning by guarding the atmel_isc_of_match by CONFIG_OF.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
