[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250617034249.2067135-1-rdunlap@infradead.org>
Date: Mon, 16 Jun 2025 20:42:49 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Wesley Cheng <quic_wcheng@...cinc.com>,
Melody Olvera <melody.olvera@....qualcomm.com>,
Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
linux-phy@...ts.infradead.org,
linux-arm-msm@...r.kernel.org
Subject: [PATCH] phy: qcom: add linux/bitfield.h header to fix a build error
Add the <linux/bitfield.h> header to prevent a build error:
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c: In function 'm31eusb2_phy_init':
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c:210:37: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
210 | FIELD_PREP(FSEL, data->fsel));
Fixes: 9c8504861cc4 ("phy: qcom: Add M31 based eUSB2 PHY driver")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Wesley Cheng <quic_wcheng@...cinc.com>
Cc: Melody Olvera <melody.olvera@....qualcomm.com>
Cc: Vinod Koul <vkoul@...nel.org>
Cc: Kishon Vijay Abraham I <kishon@...nel.org>
Cc: linux-phy@...ts.infradead.org
Cc: linux-arm-msm@...r.kernel.org
---
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20250616.orig/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
+++ linux-next-20250616/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
@@ -3,6 +3,7 @@
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/
+#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
Powered by blists - more mailing lists