On Thu, Apr 30, 2020 at 10:42 AM Jerome Pouiller
wrote:
> On Wednesday 29 April 2020 22:34:56 CEST Arnd Bergmann wrote:
> > On Wed, Apr 29, 2020 at 6:04 PM Jerome Pouiller
> > wrote:
> > > On Wednesday 29 April 2020 16:21:09 CEST Arnd Bergmann wrote:
> > > >
> > > > -static const struct of_device
On Wednesday 29 April 2020 22:34:56 CEST Arnd Bergmann wrote:
>
> On Wed, Apr 29, 2020 at 6:04 PM Jerome Pouiller
> wrote:
> > On Wednesday 29 April 2020 16:21:09 CEST Arnd Bergmann wrote:
> > >
> > > -static const struct of_device_id wfx_sdio_of_match[];
> > > +static const struct of_device_id w
On Wed, Apr 29, 2020 at 6:04 PM Jerome Pouiller
wrote:
> On Wednesday 29 April 2020 16:21:09 CEST Arnd Bergmann wrote:
> >
> > -static const struct of_device_id wfx_sdio_of_match[];
> > +static const struct of_device_id wfx_sdio_of_match[] = {
> > + { .compatible = "silabs,wfx-sdio" },
> > +
On Wednesday 29 April 2020 16:21:09 CEST Arnd Bergmann wrote:
>
> When CONFIG_OF is disabled, gcc-9 produces a warning about the
> wfx_sdio_of_match[] array having a declaration without a dimension:
>
> drivers/staging/wfx/bus_sdio.c:159:34: error: array 'wfx_sdio_of_match'
> assumed to have one
When CONFIG_OF is disabled, gcc-9 produces a warning about the
wfx_sdio_of_match[] array having a declaration without a dimension:
drivers/staging/wfx/bus_sdio.c:159:34: error: array 'wfx_sdio_of_match' assumed
to have one element [-Werror]
159 | static const struct of_device_id wfx_sdio_of_mat