mfd: qnap-mcu: include linux/types.h in qnap-mcu.h shared
From: Heiko Stuebner <heiko@...> Date: Wed, 23 Jul 2025 09:59:44 +0200
Commit-Message
Relying on other components to include those basic types is unrelyable and may cause compile errors like: ../include/linux/mfd/qnap-mcu.h:13:9: error: unknown type name ‘u32’ 13 | u32 baud_rate; | ^~~ ../include/linux/mfd/qnap-mcu.h:17:9: error: unknown type name ‘bool’ 17 | bool usb_led; | ^~~~ So make sure, the types used in the header are available. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
include/linux/mfd/qnap-mcu.h | 2 ++ 1 file changed, 2 insertions(+)
Statistics
- 2 lines added
- 0 lines removed