From patchwork Tue Nov 8 14:42:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ilpo_J=C3=A4rvinen?= X-Patchwork-Id: 13036380 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8FD7C433FE for ; Tue, 8 Nov 2022 14:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234447AbiKHOn0 (ORCPT ); Tue, 8 Nov 2022 09:43:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234430AbiKHOnX (ORCPT ); Tue, 8 Nov 2022 09:43:23 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FDA824D; Tue, 8 Nov 2022 06:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667918602; x=1699454602; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8KsoCHuSMZhD6xWnQsttT4V4HVPw6+d16ICppyAaAT0=; b=XPkhoP4x90blabeMGnqSYQJZOcBLOJVS6h7nNBLEy9uhXTlvVGOurpQm 3YBhg7TyYdCTfDeVvdFuVGHzkLN7PyP1MiOBJkKaS5Srt/D84koTrpqjC gTVgczh7aGj9fj61ByVVUzopPdDvqXoB9OvQBRfZSDJ1+hcEwdk6vJqe7 q7LcdkWk43ptqz8rSCb/c/di9cbQN801qYmuwSnqfVCRwq1EcqXgBx0W0 /mVXkBokjmMQuMsHAT/CQG9ymp//lVlALqf6KXBJqkNhZrhwE0njavcZn Xsy9WAj67erS67Xj7GZE2mr856kKusl59rIO99nQOZfcs+CPKP/HjO3cD g==; X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="374979533" X-IronPort-AV: E=Sophos;i="5.96,148,1665471600"; d="scan'208";a="374979533" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2022 06:43:21 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="638809682" X-IronPort-AV: E=Sophos;i="5.96,148,1665471600"; d="scan'208";a="638809682" Received: from ppkrause-mobl.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.249.44.73]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2022 06:43:18 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= To: linux-fpga@vger.kernel.org, Xu Yilun , Wu Hao , Tom Rix , Moritz Fischer , Lee Jones , Matthew Gerlach , Russ Weight , Tianfei zhang , Mark Brown , Greg KH , linux-kernel@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= Subject: [PATCH 01/12] mfd: intel-m10-bmc: Move m10bmc_type to header Date: Tue, 8 Nov 2022 16:42:54 +0200 Message-Id: <20221108144305.45424-2-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221108144305.45424-1-ilpo.jarvinen@linux.intel.com> References: <20221108144305.45424-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org In preparation into core/SPI split, move enum m10bmc_type to include/linux/mfd/intel-m10-bmc.h. Reviewed-by: Russ Weight Signed-off-by: Ilpo Järvinen --- drivers/mfd/intel-m10-bmc.c | 6 ------ include/linux/mfd/intel-m10-bmc.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/intel-m10-bmc.c b/drivers/mfd/intel-m10-bmc.c index 7e3319e5b22f..ee167c5dcd29 100644 --- a/drivers/mfd/intel-m10-bmc.c +++ b/drivers/mfd/intel-m10-bmc.c @@ -13,12 +13,6 @@ #include #include -enum m10bmc_type { - M10_N3000, - M10_D5005, - M10_N5010, -}; - static struct mfd_cell m10bmc_d5005_subdevs[] = { { .name = "d5005bmc-hwmon" }, { .name = "d5005bmc-sec-update" } diff --git a/include/linux/mfd/intel-m10-bmc.h b/include/linux/mfd/intel-m10-bmc.h index f0044b14136e..d77383a8a410 100644 --- a/include/linux/mfd/intel-m10-bmc.h +++ b/include/linux/mfd/intel-m10-bmc.h @@ -9,6 +9,12 @@ #include +enum m10bmc_type { + M10_N3000, + M10_D5005, + M10_N5010, +}; + #define M10BMC_LEGACY_BUILD_VER 0x300468 #define M10BMC_SYS_BASE 0x300800 #define M10BMC_SYS_END 0x300fff