Re: [PATCH v13] i2c: virtio: add a virtio i2c frontend driver

From: Viresh Kumar
Date: Mon Jul 05 2021 - 04:56:16 EST


On 05-07-21, 11:45, Andy Shevchenko wrote:
> On Mon, Jul 5, 2021 at 11:03 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> > On 05-07-21, 14:53, Jie Deng wrote:
>
> > > +#include <linux/types.h>
> > > +#include <linux/const.h>
> >
> > Both of these need to be the uapi headers as Andy said earlier
>
> They are already since this header _is_ UAPI,

Ahh, there is some tricky header inclusion there :)

> what you are suggesting is gonna not work,

Why ?

> although it's correct for in-kernel users of UAPI
> headers.

--
viresh