Messages in this thread | | | From | "Yang, Fei" <> | Subject | RE: [PATCH v3] mfd: add Intel Broxton Whiskey Cove PMIC driver | Date | Mon, 13 Jul 2015 17:43:52 +0000 |
| |
> 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
| |