diff options
| author | Moritz Fischer <[email protected]> | 2021-07-02 03:54:01 +0000 |
|---|---|---|
| committer | Moritz Fischer <[email protected]> | 2021-07-24 22:10:30 +0000 |
| commit | e3fd0cfb852b9d201973665e2287cce43dd92c77 (patch) | |
| tree | fc8da247c23bc030633ff172fbd6838a1584356c /drivers/fpga/altera-freeze-bridge.c | |
| parent | fpga: dfl: pci: add device IDs for Silicom N501x PAC cards (diff) | |
| download | kernel-e3fd0cfb852b9d201973665e2287cce43dd92c77.tar.gz kernel-e3fd0cfb852b9d201973665e2287cce43dd92c77.zip | |
fpga: altera-freeze-bridge: Address warning about unused variable
warning: unused variable 'altera_freeze_br_of_match'
[-Wunused-const-variable]
static const struct of_device_id altera_freeze_br_of_match[] = {
Fixes: ca24a648f535 ("fpga: add altera freeze bridge support")
Cc: Tom Rix <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-freeze-bridge.c')
| -rw-r--r-- | drivers/fpga/altera-freeze-bridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/fpga/altera-freeze-bridge.c b/drivers/fpga/altera-freeze-bridge.c index dd58c4aea92e..7d22a44d652e 100644 --- a/drivers/fpga/altera-freeze-bridge.c +++ b/drivers/fpga/altera-freeze-bridge.c @@ -198,11 +198,13 @@ static const struct fpga_bridge_ops altera_freeze_br_br_ops = { .enable_show = altera_freeze_br_enable_show, }; +#ifdef CONFIG_OF static const struct of_device_id altera_freeze_br_of_match[] = { { .compatible = "altr,freeze-bridge-controller", }, {}, }; MODULE_DEVICE_TABLE(of, altera_freeze_br_of_match); +#endif static int altera_freeze_br_probe(struct platform_device *pdev) { |
