mfd: qnap-mcu: Include linux/types.h in qnap-mcu.h shared header
authorHeiko Stuebner <heiko@sntech.de>
Mon, 4 Aug 2025 13:07:23 +0000 (15:07 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:13 +0000 (10:28 +0100)
commit5e1c88679174e4bfe5d152060b06d370bd85de80
treec58b214c29e64eba80184ff056b0f89e547b2549
parent309e65d151ab9be1e7b01d822880cd8c4e611dff
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 <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250804130726.3180806-2-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/qnap-mcu.h