Re: [PATCH 1/4] i2c: designware: Create shared header hosting driver name

From: Andy Shevchenko
Date: Wed Apr 24 2024 - 08:46:33 EST


On Wed, Apr 24, 2024 at 3:18 PM Andrew Lunn <andrew@xxxxxxx> wrote:
> > > > #include <linux/i2c.h>
> > > > +#include <linux/i2c-designware.h>
> > >
> > > Can it be hidden in the subfolder?
> >
> > That would require the MFD and ethernet drivers to include relative to where
> > they are in the source tree, do we really want that?
>
> Maybe linux/platform_data/i2c-designware.h ? There are a few NAME
> macros in there.

Yes, under subfolder I meant something like
include/linux/$SOMETHING/_this_header_.h or even deeper.

--
With Best Regards,
Andy Shevchenko