From: Wan Ahmad Zainie <wan.ahmad.zainie.wan.moha...@intel.com> Fix for this compilation error,
drivers/mfd/intel-vuport.c:38:3: error: unknown field ‘properties’ specified in initializer .properties = reg_properties, due to missing commit f4d052660323 ("device property: don't bother the drivers with struct property_set") from mainline. Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.moha...@intel.com> --- drivers/mfd/intel-vuport.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/intel-vuport.c b/drivers/mfd/intel-vuport.c index f04e6fb..fa84ed7 100644 --- a/drivers/mfd/intel-vuport.c +++ b/drivers/mfd/intel-vuport.c @@ -31,11 +31,15 @@ static struct property_entry reg_properties[] = { { }, }; +static const struct property_set reg_properties_pset = { + .properties = reg_properties, +}; + static const struct mfd_cell intel_vuport_mfd_cells[] = { { .name = "extcon-usb-gpio", }, { .name = "reg-fixed-voltage", - .properties = reg_properties, + .pset = ®_properties_pset, }, { .name = "intel-mux-gpio", }, }; -- 1.9.1 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto