Skip to contentSkip to conversation

drm/rockchip: vop2: add missing bitfield.h include

PATCH Applied Heiko Stuebner 2 participants 3 messages Mar 3, 2025

Subsystems (4)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/1 drm/rockchip: vop2: add missing bitfield.h include

Commit 328e6885996c ("drm/rockchip: vop2: Add platform specific callback") moved per soc configuration code to the other per-soc data into rockchip_vop2_reg.c, but forgot to also include bitfield.h for the used FIELD_PREP macro. Add this missing include.

Fixes 328e6885996c ("drm/rockchip: vop2: Add platform specific callback")
---
 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c +1 -0
index 0afef24db144..f86a30df94aa 100644
@@ -4,6 +4,7 @@
  * Author: Andy Yan <[email protected]>
  */
 
+#include <linux/bitfield.h>
 #include <linux/kernel.h>
 #include <linux/component.h>
 #include <linux/mod_devicetable.h>
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 10 lines · Heiko Stuebner

Commit 328e6885996c ("drm/rockchip: vop2: Add platform specific callback") moved per soc configuration code to the other per-soc data into rockchip_vop2_reg.c, but forgot to also include bitfield.h for the used FIELD_PREP macro. Add this missing include.

Fixes 328e6885996c ("drm/rockchip: vop2: Add platform specific callback")

---

Greetings,

-- Sebastian

Quoted 18 lines
 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c +1 -0
index 0afef24db144..f86a30df94aa 100644
@@ -4,6 +4,7 @@
  * Author: Andy Yan <[email protected]>
  */
 
+#include <linux/bitfield.h>
 #include <linux/kernel.h>
 #include <linux/component.h>
 #include <linux/mod_devicetable.h>
Signature · 1 line
2.47.2
author maintainer Applied
#2 lore raw
In reply to Heiko Stuebner
Quoted 6 lines · Heiko Stuebner

Commit 328e6885996c ("drm/rockchip: vop2: Add platform specific callback") moved per soc configuration code to the other per-soc data into rockchip_vop2_reg.c, but forgot to also include bitfield.h for the used FIELD_PREP macro. Add this missing include.

Applied, thanks!

[1/1] drm/rockchip: vop2: add missing bitfield.h include

      commit: 95a5c9d197bb22a506913acb330a926d4e51aa95

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>