Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 1/3] ufs: qcom: add __maybe_unused to OF ID table
@ 2023-03-10 21:44 Krzysztof Kozlowski
  2023-03-10 21:44 ` [PATCH 2/3] ufs: exynos: drop of_match_ptr for " Krzysztof Kozlowski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-10 21:44 UTC (permalink / raw)
  To: Alim Akhtar, James E.J. Bottomley, Martin K. Petersen,
	Krzysztof Kozlowski, Manivannan Sadhasivam, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, linux-scsi, linux-arm-kernel,
	linux-samsung-soc, linux-kernel, linux-arm-msm

The driver can be built on ACPI and its .of_match_table uses
of_match_ptr(), thus annotate the actual table as maybe unused.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/ufs/host/ufs-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c
index a02cd866e2f8..82d02e7f3b4f 100644
--- a/drivers/ufs/host/ufs-qcom.c
+++ b/drivers/ufs/host/ufs-qcom.c
@@ -1693,7 +1693,7 @@ static int ufs_qcom_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id ufs_qcom_of_match[] = {
+static const struct of_device_id ufs_qcom_of_match[] __maybe_unused = {
 	{ .compatible = "qcom,ufshc"},
 	{},
 };
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-24 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-10 21:44 [PATCH 1/3] ufs: qcom: add __maybe_unused to OF ID table Krzysztof Kozlowski
2023-03-10 21:44 ` [PATCH 2/3] ufs: exynos: drop of_match_ptr for " Krzysztof Kozlowski
2023-03-11  2:03   ` Alim Akhtar
2023-03-10 21:44 ` [PATCH 3/3] ufs: hisi: " Krzysztof Kozlowski
2023-03-11  0:06 ` [PATCH 1/3] ufs: qcom: add __maybe_unused to OF " Konrad Dybcio
2023-03-17  3:46 ` Martin K. Petersen
2023-03-24 21:06 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox