Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2982872ybt; Mon, 29 Jun 2020 12:05:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQqjJpYAyyH5oije89hchsz/m/fYzXi0DIblXcs8O4Zo0BcQdL88M0pkuYn7V9k7m62QVS X-Received: by 2002:a17:906:ce51:: with SMTP id se17mr14717314ejb.503.1593457541022; Mon, 29 Jun 2020 12:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593457541; cv=none; d=google.com; s=arc-20160816; b=R59gjvKhvmYL1n4513h+9DFqXp0+YiQs3oRaoEEqx57wdUZM9CbIfw4PD6hFbH1dJ4 8eKTlkH3zkDrVgX+o9MifejD2kFMz0+uieHfVuYwzXBJnuIWQjDW+aSMMOY5UuL9FbO9 ToNu+XArjx/fGDmsO2MUS2dIlLkXmo0dSkLZdeI+Ku+xAlRByTXNzp5OAx0lAZ9YPOwC +GGvjBU/sOoysF9/RpzNkuYchptQbD58D62roU7XjBU8qwfCTR+vDqc8AgqltXhBhaT4 o4tfAaNSP9d9oV87Nbq2kBketipmtzEf6Dd05hpe6aUramRAnj9de3ICd0bBtqg0gyxD dUxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=8ip0tMvusndqRu/GzGBDXLcxXGFNNtEvFG347D4YHFY=; b=o7RDiqIC3tgsvdppm/48tjUaV+f0pIZmeVDPbY3GbCJFgogE88cTRTtka7y8doOD2Q A07d6Uso7/u5r60J+9wkMlr7HPiZK5loS3wPXPH+YNrSlz+rD1Nby3LsxjXudU2oRVv3 QGmlxxs3ohKyv3coatzI0wjv8ahGKCOPMlqObMlWVIymHyeEqpoZLQ67yUC3Kn+t5FJ1 uVH707SxtbgHl+6vkrd15OLKBjpxBzZbSU/rN8V3YWJ8tNOv0Gr5HV/HdmKw2kxmIqU0 sGPL4ySS2ZNZWsrRI5crYVNkom1TtHGuVp+LnLzmkCDQ5e8YuqjawQ6qdoSD5lRccOdw AOGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj5si300141ejb.49.2020.06.29.12.05.16; Mon, 29 Jun 2020 12:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730654AbgF2TEs (ORCPT + 99 others); Mon, 29 Jun 2020 15:04:48 -0400 Received: from inva021.nxp.com ([92.121.34.21]:41056 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730535AbgF2TEp (ORCPT ); Mon, 29 Jun 2020 15:04:45 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 963BF20016E; Mon, 29 Jun 2020 08:06:01 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id CA76E200F02; Mon, 29 Jun 2020 08:05:50 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 2F6FA402E8; Mon, 29 Jun 2020 14:05:38 +0800 (SGT) From: Anson Huang To: linux@armlinux.org.uk, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, oleksandr.suvorov@toradex.com, stefan.agner@toradex.com, arnd@arndb.de, peng.fan@nxp.com, abel.vesa@nxp.com, aisheng.dong@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, sfr@canb.auug.org.au, viro@zeniv.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for module build Date: Mon, 29 Jun 2020 13:53:54 +0800 Message-Id: <1593410042-10598-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593410042-10598-1-git-send-email-Anson.Huang@nxp.com> References: <1593410042-10598-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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