Skip to content
Snippets Groups Projects
Commit 2ddb3ee5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Clark Wang
Browse files

i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning


If CONFIG_OF is disabled then the matching table is notreferenced.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
(cherry picked from commit 95393f3e)
parent 94d4251a
No related branches found
No related tags found
No related merge requests found
...@@ -777,7 +777,7 @@ static int i3c_hci_remove(struct platform_device *pdev) ...@@ -777,7 +777,7 @@ static int i3c_hci_remove(struct platform_device *pdev)
return 0; 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", }, { .compatible = "mipi-i3c-hci", },
{}, {},
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment