* [PATCH] nvmem: qnap-mcu-eeprom: swap header order to fix missing type definitions
@ 2025-08-19 11:10 Heiko Stuebner
2025-08-19 13:55 ` Heiko Stübner
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Stuebner @ 2025-08-19 11:10 UTC (permalink / raw)
To: srini; +Cc: linux-kernel, heiko, kernel test robot
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508191205.ROvIX7IA-lkp@intel.com/
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/nvmem/qnap-mcu-eeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvmem/qnap-mcu-eeprom.c b/drivers/nvmem/qnap-mcu-eeprom.c
index fea1e7b91764..e18e9ff4cfce 100644
--- a/drivers/nvmem/qnap-mcu-eeprom.c
+++ b/drivers/nvmem/qnap-mcu-eeprom.c
@@ -9,8 +9,8 @@
* Copyright (C) 2008 Wolfram Sang, Pengutronix
*/
-#include <linux/mfd/qnap-mcu.h>
#include <linux/module.h>
+#include <linux/mfd/qnap-mcu.h>
#include <linux/nvmem-provider.h>
#include <linux/platform_device.h>
--
2.47.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-19 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 11:10 [PATCH] nvmem: qnap-mcu-eeprom: swap header order to fix missing type definitions Heiko Stuebner
2025-08-19 13:55 ` Heiko Stübner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.