Commit e3fd0cfb authored by Moritz Fischer's avatar Moritz Fischer

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: ca24a648 ("fpga: add altera freeze bridge support")
Cc: Tom Rix <trix@redhat.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
parent 82fb70b8
...@@ -198,11 +198,13 @@ static const struct fpga_bridge_ops altera_freeze_br_br_ops = { ...@@ -198,11 +198,13 @@ static const struct fpga_bridge_ops altera_freeze_br_br_ops = {
.enable_show = altera_freeze_br_enable_show, .enable_show = altera_freeze_br_enable_show,
}; };
#ifdef CONFIG_OF
static const struct of_device_id altera_freeze_br_of_match[] = { static const struct of_device_id altera_freeze_br_of_match[] = {
{ .compatible = "altr,freeze-bridge-controller", }, { .compatible = "altr,freeze-bridge-controller", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, altera_freeze_br_of_match); MODULE_DEVICE_TABLE(of, altera_freeze_br_of_match);
#endif
static int altera_freeze_br_probe(struct platform_device *pdev) static int altera_freeze_br_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment