Suppresses the unused variable warning and bracer recommendation. bxt_gpio isn't actually in use yet.
Signed-off-by: Yong, Jonathan <jonathan.y...@intel.com> --- drivers/pinctrl/intel/pinctrl-broxton.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c b/drivers/pinctrl/intel/pinctrl-broxton.c index 4d15694..251b98f 100644 --- a/drivers/pinctrl/intel/pinctrl-broxton.c +++ b/drivers/pinctrl/intel/pinctrl-broxton.c @@ -999,10 +999,11 @@ static const struct intel_pinctrl_soc_data *apl_pinctrl_soc_data[] = { static const struct acpi_device_id bxt_pinctrl_acpi_match[] = { #ifdef CONFIG_PINCTRL_APL_DEVICE - "apl_gpio", (kernel_ulong_t)apl_pinctrl_soc_data, + { "apl_gpio", (kernel_ulong_t)apl_pinctrl_soc_data, }, + { "bxt_gpio", (kernel_ulong_t)bxt_pinctrl_soc_data, }, #else - "INT3452", (kernel_ulong_t)apl_pinctrl_soc_data, - "INT34D1", (kernel_ulong_t)bxt_pinctrl_soc_data, + { "INT3452", (kernel_ulong_t)apl_pinctrl_soc_data, }, + { "INT34D1", (kernel_ulong_t)bxt_pinctrl_soc_data, }, #endif { } }; -- 2.7.3 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto