diff options
author | Moritz Fischer <mdf@kernel.org> | 2021-06-19 00:46:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-24 15:45:11 +0200 |
commit | 1e2658aef517bec2327b22e1ddb12e33cceee38e (patch) | |
tree | 30479dfb6041acea844548607cbfdf4cc1f56a16 /drivers/siox | |
parent | lkdtm/heap: Add init_on_alloc tests (diff) | |
download | linux-1e2658aef517bec2327b22e1ddb12e33cceee38e.tar.xz linux-1e2658aef517bec2327b22e1ddb12e33cceee38e.zip |
fpga: machxo2-spi: Address warning about unused variable
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: 88fb3a002330 ("fpga: lattice machxo2: Add Lattice MachXO2 support")
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Tom Rix <trix@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20210618224618.1487323-1-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/siox')
0 files changed, 0 insertions, 0 deletions