[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1593410042-10598-3-git-send-email-Anson.Huang@nxp.com>
Date: Mon, 29 Jun 2020 13:53:54 +0800
From: Anson Huang <Anson.Huang@....com>
To: linux@...linux.org.uk, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, mturquette@...libre.com,
sboyd@...nel.org, oleksandr.suvorov@...adex.com,
stefan.agner@...adex.com, arnd@...db.de, peng.fan@....com,
abel.vesa@....com, aisheng.dong@....com, fugang.duan@....com,
daniel.baluta@....com, yuehaibing@...wei.com, sfr@...b.auug.org.au,
viro@...iv.linux.org.uk, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for module build
Keep __setup_param() to use same parameters for both built in
and built as module, it can make the drivers which call it easier
when the drivers can be built in or built as module.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
new patch.
---
include/linux/init.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/init.h b/include/linux/init.h
index 212fc9e..8f27299 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -293,7 +293,7 @@ void __init parse_early_options(char *cmdline);
#else /* MODULE */
-#define __setup_param(str, unique_id, fn) /* nothing */
+#define __setup_param(str, unique_id, fn, early) /* nothing */
#define __setup(str, func) /* nothing */
#endif
--
2.7.4
Powered by blists - more mailing lists