aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2020-12-16 09:44:30 -0500
committerBoris Brezillon <[email protected]>2020-12-17 10:31:30 +0100
commit95393f3e07ab53855b91881692a4a5b52dcdc03c (patch)
tree7508c9f1a46e45d7857018ec21c85bfbc477ebf3
parent015cbe1f05067cb0374514fcf0a45e17a2b39527 (diff)
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 <[email protected]> Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
-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", },
{},
};