Re: [PATCH 0.5/12] ARM: OMAP2+: Prepare to pass auxdata for smartreflex
From: Tony Lindgren
Date: Mon Feb 26 2018 - 17:23:34 EST
* kbuild test robot <lkp@xxxxxxxxx> [180226 08:39]:
> >> arch/arm/mach-omap2/pdata-quirks.c:517:36: error: array type has incomplete element type 'struct omap_sr_data'
> struct omap_sr_data __maybe_unused omap_sr_pdata[OMAP_SR_NR];
> ^~~~~~~~~~~~~
>
> vim +517 arch/arm/mach-omap2/pdata-quirks.c
>
> 516
> > 517 struct omap_sr_data __maybe_unused omap_sr_pdata[OMAP_SR_NR];
> 518
Thanks kbt. Looks like it needs to be out of the ifdef
CONFIG_POWER_AVS_OMAP in include/linux/power/smartreflex.h.
Updated patch below.
Regards,
Tony
8< ---------------------