diff options
| author | Eugen Hristev <[email protected]> | 2022-05-03 12:12:16 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-06-20 10:30:29 +0100 |
| commit | b2bae4b8e637dd751d27918a6b27bd5abcd08859 (patch) | |
| tree | 4644bb94197847c5995677ae5a82f126a011f996 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 39ad84e911c5c0e1593f3652325d279692817188 (diff) | |
media: atmel: atmel-sama7g5-isc: fix warning in configs without OF
All warnings (new ones prefixed by >>):
>> drivers/media/platform/atmel/atmel-sama7g5-isc.c:610:34: warning: unused variable 'microchip_xisc_of_match' [-Wunused-const-variable]
static const struct of_device_id microchip_xisc_of_match[] = {
^
13 warnings generated.
vim +/microchip_xisc_of_match +610 drivers/media/platform/atmel/atmel-sama7g5-isc.c
609
> 610 static const struct of_device_id microchip_xisc_of_match[] = {
611 { .compatible = "microchip,sama7g5-isc" },
612 { }
613 };
614 MODULE_DEVICE_TABLE(of, microchip_xisc_of_match);
615
Fixed warning by guarding the atmel_isc_of_match by CONFIG_OF.
Reported-by: kernel test robot <[email protected]>
Fixes: c9aa973884a1 ("media: atmel: atmel-isc: add microchip-xisc driver")
Signed-off-by: Eugen Hristev <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions