mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
Address warning about unused variable in case CONFIG_OF is not set.
warning: unused variable 'of_match' [-Wunused-const-variable]
static const struct of_device_id of_match[] = {
Fixes: 88fb3a0023 ("fpga: lattice machxo2: Add Lattice MachXO2 support")
Cc: Arnd Bergmann <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>