Skip to contentSkip to conversation

media: ipu-bridge: add mod_devicetable.h header inclusion

PATCH In review [email protected] 2 participants 2 messages May 10, 2024 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: ipu-bridge: add mod_devicetable.h header inclusion

From: Bingbu Cao <[email protected]>

ACPI_ID_LEN is defined in mod_devicetable.h, so the header should be guaranteed to included in ipu-bridge.h instead of the source files which include ipu-bridge.h.

---
 include/media/ipu-bridge.h | 1 +
 1 file changed, 1 insertion(+)
include/media/ipu-bridge.h +1 -0
index 783bda6d5cc3..16fac765456e 100644
@@ -3,6 +3,7 @@
 #ifndef __IPU_BRIDGE_H
 #define __IPU_BRIDGE_H
 
+#include <linux/mod_devicetable.h>
 #include <linux/property.h>
 #include <linux/types.h>
 #include <media/v4l2-fwnode.h>
Signature · 1 line
2.34.1