Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbbGMRnz (ORCPT ); Mon, 13 Jul 2015 13:43:55 -0400 Received: from mga11.intel.com ([192.55.52.93]:60872 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbbGMRny convert rfc822-to-8bit (ORCPT ); Mon, 13 Jul 2015 13:43:54 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,464,1432623600"; d="scan'208";a="746294125" From: "Yang, Fei" To: "Zha, Qipeng" , "linux-kernel@vger.kernel.org" CC: "lee.jones@linaro.org" , "sameo@linux.intel.com" , "Zhong, Huiquan" , "Chen, Jason CJ" , "Zheng, Qi" , "Ortiz, Samuel" Subject: RE: [PATCH v3] mfd: add Intel Broxton Whiskey Cove PMIC driver Thread-Topic: [PATCH v3] mfd: add Intel Broxton Whiskey Cove PMIC driver Thread-Index: AQHQvUYKCJ26eH24eU6tCbnG2pvsDJ3Zqqqg Date: Mon, 13 Jul 2015 17:43:52 +0000 Message-ID: <02E7334B1630744CBDC55DA858622583493303FF@ORSMSX102.amr.corp.intel.com> References: <1436805157-70446-1-git-send-email-qipeng.zha@intel.com> In-Reply-To: <1436805157-70446-1-git-send-email-qipeng.zha@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 21 > diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 0e5cfeb..5e771a2 100644 > --- a/drivers/mfd/Makefile > +++ b/drivers/mfd/Makefile > @@ -183,5 +183,6 @@ obj-$(CONFIG_MFD_RT5033) += rt5033.o > obj-$(CONFIG_MFD_SKY81452) += sky81452.o > > intel-soc-pmic-objs := intel_soc_pmic_core.o intel_soc_pmic_crc.o > +intel-soc-pmic-objs += intel_soc_pmic_bxtwc.o Since you have regmap read/write callbacks implemented in the mfd driver itself now, this driver would have compile time dependency on the IPC driver. I think you need to define a CONFIG option for bxtwc depending on CONFIG_INTEL_PMC_IPC. > obj-$(CONFIG_INTEL_SOC_PMIC) += intel-soc-pmic.o > obj-$(CONFIG_MFD_MT6397) += mt6397-core.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/