From: Heiko Stuebner Date: Mon, 4 Aug 2025 13:07:23 +0000 (+0200) Subject: mfd: qnap-mcu: Include linux/types.h in qnap-mcu.h shared header X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e1c88679174e4bfe5d152060b06d370bd85de80;p=thirdparty%2Fkernel%2Fstable.git mfd: qnap-mcu: Include linux/types.h in qnap-mcu.h shared header Relying on other components to include those basic types is unreliable 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 Link: https://lore.kernel.org/r/20250804130726.3180806-2-heiko@sntech.de Signed-off-by: Lee Jones --- diff --git a/include/linux/mfd/qnap-mcu.h b/include/linux/mfd/qnap-mcu.h index 8d48c212fd44..42bf523f9a5b 100644 --- a/include/linux/mfd/qnap-mcu.h +++ b/include/linux/mfd/qnap-mcu.h @@ -7,6 +7,8 @@ #ifndef _LINUX_QNAP_MCU_H_ #define _LINUX_QNAP_MCU_H_ +#include + struct qnap_mcu; struct qnap_mcu_variant {