aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i3c
diff options
context:
space:
mode:
authorNicolas Pitre <npitre@baylibre.com>2020-12-16 09:44:30 -0500
committerBoris Brezillon <boris.brezillon@collabora.com>2020-12-17 10:31:30 +0100
commit95393f3e07ab53855b91881692a4a5b52dcdc03c (patch)
tree7508c9f1a46e45d7857018ec21c85bfbc477ebf3 /drivers/i3c
parenti3c: Resign from my maintainer role (diff)
downloadlinux-dev-95393f3e07ab53855b91881692a4a5b52dcdc03c.tar.xz
linux-dev-95393f3e07ab53855b91881692a4a5b52dcdc03c.zip
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.c2
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", },
{},
};