media: ipu-bridge: add mod_devicetable.h header inclusion
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.
Signed-off-by Bingbu Cao <[email protected]>
--- include/media/ipu-bridge.h | 1 + 1 file changed, 1 insertion(+)
include/media/ipu-bridge.h +1 -0
@@ -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
Quoted 5 lines · On Fri, May 10, 2024 at 02:27:47PM +0800, [email protected] wrote:
From: Bingbu Cao <[email protected]>
ACPI_ID_LENis defined inmod_devicetable.h, so the header should be guaranteed to included inipu-bridge.hinstead of the source files which includeipu-bridge.h.
Right,
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko