RE: [LINUX PATCH v3] spi: spi-mem: Fix build error without CONFIG_SPI_MEM

From: Naga Sureshkumar Relli
Date: Wed Apr 10 2019 - 08:30:50 EST


Hi,

> -----Original Message-----
> From: linux-spi-owner@xxxxxxxxxxxxxxx <linux-spi-owner@xxxxxxxxxxxxxxx> On Behalf Of
> Mark Brown
> Sent: Wednesday, April 10, 2019 5:55 PM
> To: YueHaibing <yuehaibing@xxxxxxxxxx>
> Cc: Naga Sureshkumar Relli <nagasure@xxxxxxxxxx>; vigneshr@xxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; linux-spi@xxxxxxxxxxxxxxx; Michal Simek <michals@xxxxxxxxxx>;
> nagasuresh12@xxxxxxxxx
> Subject: Re: [LINUX PATCH v3] spi: spi-mem: Fix build error without CONFIG_SPI_MEM
>
> On Wed, Apr 10, 2019 at 08:22:29PM +0800, YueHaibing wrote:
> > On 2019/4/10 19:57, Naga Sureshkumar Relli wrote:
>
> > > +static inline bool spi_mem_default_supports_op(struct spi_mem *mem,
> > > + const struct spi_mem_op *op);
>
> > Here miss a Function body, right?
>
> Yeah, I'm surprised that builds...
Sorry, I tested with CONFIG_SPI_MEM enabled. It's my bad.

Regards,
Naga Sureshkumar Relli