Skip to content

Commit

Permalink
i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Nicolas Pitre authored and bbrezillon committed Dec 17, 2020
1 parent 015cbe1 commit 95393f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i3c/master/mipi-i3c-hci/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down

0 comments on commit 95393f3

Please sign in to comment.