Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3721057rwe; Mon, 17 Apr 2023 02:28:52 -0700 (PDT) X-Google-Smtp-Source: AKy350aindQ3H8XAoUfZ/thaBHLaXHSqWMkW8XoMQp5wg35cCqEpz1QxeIJT8GjpDu77cDCG1x+5 X-Received: by 2002:a17:903:41cb:b0:1a6:7b66:3bc9 with SMTP id u11-20020a17090341cb00b001a67b663bc9mr14553764ple.27.1681723732533; Mon, 17 Apr 2023 02:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681723732; cv=none; d=google.com; s=arc-20160816; b=ruyYskPUJPv57gsw1UvgYfunORzH1K6fQyAloL98dVswfeo5lMGtUNmyxTjWHvsZeN Lt3WOlD8lK7mJkD8k7HemZV5js+4/gY2dqSXABFZR2/E2iLyBfAh5JKXmmdzLPrkGIz+ Se5DfEfVVd8BdSAlJ3+vMk3l+2XQTlD2s4AI3bnMLoI1qCvqhIE0uLJyV7xDNpMtUDOs 6dRnMURUiSI791W9MDc2Q6i3EdWcIdEmiLlubTKqEJZI7FLRk1OtZ8pGdHOlT/hkTOaD BbxOZVwLPKlkFJwLtl/Qhd6/ISygL+FlnteD7Iff5D4/zwGYr3orwK4wprRv+Sq97tQV lv6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3QayL8mx1J4hz4D73JB4nBi1/mDOVDnZKpcXMcRPmg0=; b=kOD7TXmkslujkTOubJLuldG6Lubq4+JwIXcmVLkUiHBrAYFfasazFcOH/n/0UAUoYO XjH73N3c5zjfHhDVDH5Ye4in+OpkJ02/cnTpQEbd9rFq8K1PhbMqvtTDEPNUFFGlKqVt JptrgO6i/Oqx371qa/N5qLLVZqO7P1kxxsEOesx8ymmArdawQPyDZRRsKK+bAhQNQV/P e44JvWhumlmeA4lvELN/k/e6jncdg2AKWk2SBWHuHbGDvS+ELhDv58sh3HX7gBMusS4v nLrtF26G9QWXCU4onVwfMIKfR6x4c0QuADxTM+wizo7WhYymW4sQaO9mVo3beZ9XSg+k AGwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NlGXsyGx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a170902db8500b001a1def4a04bsi11159923pld.375.2023.04.17.02.28.40; Mon, 17 Apr 2023 02:28:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NlGXsyGx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjDQJ11 (ORCPT + 99 others); Mon, 17 Apr 2023 05:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230356AbjDQJ1O (ORCPT ); Mon, 17 Apr 2023 05:27:14 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED94035B7; Mon, 17 Apr 2023 02:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681723631; x=1713259631; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sNCBuLpL1NluS83Asvy7rtsJCCTCAt8oABSSZ0Kf1n8=; b=NlGXsyGx81+XKTY6m8p772ZhDgnHuafgYTrm/8x2FoZfvkf74Hkwgd2M gbeM/wgi7ZbXYo4knaPk34EYl6KpuBMydysLQvmRQ9vJOCDBQB5FL5xCs FOx3dDl7KhEL+JkvkuUL82faev1pxQh18navCrMLglIdAX2fmaZEpSv6n U2RJ2cphu4CC8CJnr9fNWUeox3Zly5gISNXRA0FGuar/H4LaUAV0T0EJm 6NIg9M+Ssxat3sI4eMvUiWJBs/JurhxMCFcxmrwloKrZbxGMngXvVq5QK NHXw5u0JeJbN+lUqmEhQoxWZkDqwGNsTn/urHeQY9lVU8SPxf17+6EvLv g==; X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="344846477" X-IronPort-AV: E=Sophos;i="5.99,203,1677571200"; d="scan'208";a="344846477" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2023 02:27:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="684094796" X-IronPort-AV: E=Sophos;i="5.99,203,1677571200"; d="scan'208";a="684094796" Received: from anicosix-mobl2.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.249.35.34]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2023 02:27:05 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: Xu Yilun , Wu Hao , Tom Rix , Moritz Fischer , linux-fpga@vger.kernel.org, Lee Jones , Jean Delvare , Guenter Roeck , Russ Weight , linux-kernel@vger.kernel.org Cc: linux-hwmon@vger.kernel.org, =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH v3 1/4] mfd: intel-m10-bmc: Move core symbols to own namespace Date: Mon, 17 Apr 2023 12:26:50 +0300 Message-Id: <20230417092653.16487-2-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230417092653.16487-1-ilpo.jarvinen@linux.intel.com> References: <20230417092653.16487-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Create INTEL_M10_BMC_CORE namespace for symbols exported by intel-m10-bmc-core. Reviewed-by: Russ Weight Signed-off-by: Ilpo Järvinen --- drivers/mfd/intel-m10-bmc-core.c | 4 ++-- drivers/mfd/intel-m10-bmc-pmci.c | 1 + drivers/mfd/intel-m10-bmc-spi.c | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/intel-m10-bmc-core.c b/drivers/mfd/intel-m10-bmc-core.c index dac9cf7bcb4a..c0b8209fd842 100644 --- a/drivers/mfd/intel-m10-bmc-core.c +++ b/drivers/mfd/intel-m10-bmc-core.c @@ -98,7 +98,7 @@ const struct attribute_group *m10bmc_dev_groups[] = { &m10bmc_group, NULL, }; -EXPORT_SYMBOL_GPL(m10bmc_dev_groups); +EXPORT_SYMBOL_NS_GPL(m10bmc_dev_groups, INTEL_M10_BMC_CORE); int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info) { @@ -115,7 +115,7 @@ int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platf return ret; } -EXPORT_SYMBOL_GPL(m10bmc_dev_init); +EXPORT_SYMBOL_NS_GPL(m10bmc_dev_init, INTEL_M10_BMC_CORE); MODULE_DESCRIPTION("Intel MAX 10 BMC core driver"); MODULE_AUTHOR("Intel Corporation"); diff --git a/drivers/mfd/intel-m10-bmc-pmci.c b/drivers/mfd/intel-m10-bmc-pmci.c index 8821f1876dd6..0392ef8b57d8 100644 --- a/drivers/mfd/intel-m10-bmc-pmci.c +++ b/drivers/mfd/intel-m10-bmc-pmci.c @@ -453,3 +453,4 @@ module_dfl_driver(m10bmc_pmci_driver); MODULE_DESCRIPTION("MAX10 BMC PMCI-based interface"); MODULE_AUTHOR("Intel Corporation"); MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS(INTEL_M10_BMC_CORE); diff --git a/drivers/mfd/intel-m10-bmc-spi.c b/drivers/mfd/intel-m10-bmc-spi.c index 957200e17fed..edd266557ab9 100644 --- a/drivers/mfd/intel-m10-bmc-spi.c +++ b/drivers/mfd/intel-m10-bmc-spi.c @@ -166,3 +166,4 @@ MODULE_DESCRIPTION("Intel MAX 10 BMC SPI bus interface"); MODULE_AUTHOR("Intel Corporation"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("spi:intel-m10-bmc"); +MODULE_IMPORT_NS(INTEL_M10_BMC_CORE); -- 2.30.2