RE: [PATCH v3] mfd: add Intel Broxton Whiskey Cove PMIC driver

From: Yang, Fei
Date: Mon Jul 13 2015 - 13:43:58 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/