diff options
author | Nicolas Pitre <npitre@baylibre.com> | 2020-12-16 17:44:30 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2020-12-17 12:31:30 +0300 |
commit | 95393f3e07ab53855b91881692a4a5b52dcdc03c (patch) | |
tree | 7508c9f1a46e45d7857018ec21c85bfbc477ebf3 /drivers/i3c | |
parent | 015cbe1f05067cb0374514fcf0a45e17a2b39527 (diff) | |
download | linux-95393f3e07ab53855b91881692a4a5b52dcdc03c.tar.xz |
i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning
If CONFIG_OF is disabled then the matching table is notreferenced.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'drivers/i3c')
-rw-r--r-- | drivers/i3c/master/mipi-i3c-hci/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i3c/master/mipi-i3c-hci/core.c b/drivers/i3c/master/mipi-i3c-hci/core.c index 113c4c90546e..500abd27fb22 100644 --- a/drivers/i3c/master/mipi-i3c-hci/core.c +++ b/drivers/i3c/master/mipi-i3c-hci/core.c @@ -777,7 +777,7 @@ static int i3c_hci_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id i3c_hci_of_match[] = { +static const struct __maybe_unused of_device_id i3c_hci_of_match[] = { { .compatible = "mipi-i3c-hci", }, {}, }; |