nvmem: qnap-mcu-eeprom: swap header order to fix missing type
From: Heiko Stuebner <heiko@...> Date: Tue, 19 Aug 2025 13:02:03 +0200
Commit-Message
The main header for the qnap-mcu uses types without (at the moment) including the necessary types.h header. While there is patch pending to fix that for every use: https://lore.kernel.org/all/20250804130726.3180806-2-heiko@sntech.de/ this does not help the nvmem driver right now. Swapping the order of module.h and qnap-mcu.h headers does fix the problem locally until the main change gets merged though. Fixes: 117c3f3014a9 ("nvmem: add driver for the eeprom in qnap-mcu controllers") Reported-by: kernel test robot <lkp@...> Closes: https://lore.kernel.org/oe-kbuild-all/202508191205.ROvIX7IA-lkp@intel.com/ Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/nvmem/qnap-mcu-eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Statistics
- 1 lines added
- 1 lines removed