From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Tue, 27 Nov 2018 21:07:10 +0530 Subject: [U-Boot] [PATCH v4 3/3] dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h In-Reply-To: <20181127080052.nclpuaxau2el5quy@qschulz> References: <20181124121723.15151-1-jagan@amarulasolutions.com> <20181124121723.15151-3-jagan@amarulasolutions.com> <20181127080052.nclpuaxau2el5quy@qschulz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 27, 2018 at 1:31 PM Quentin Schulz wrote: > > Hi Jagan, > > On Sat, Nov 24, 2018 at 05:47:23PM +0530, Jagan Teki wrote: > > Rename platform_data include file as spi_pl022.h from pl022_spi.h, > > this is generic notation used for spi platdata include files. > > > > Cc: Quentin Schulz > > Signed-off-by: Jagan Teki > > --- > > Changes for v4: > > - none > > Changes for v3: > > - split patch from previous > > > > drivers/spi/pl022_spi.c | 2 +- > > include/dm/platform_data/{pl022_spi.h => spi_pl022.h} | 6 +++--- > > 2 files changed, 4 insertions(+), 4 deletions(-) > > rename include/dm/platform_data/{pl022_spi.h => spi_pl022.h} (82%) > > > > diff --git a/drivers/spi/pl022_spi.c b/drivers/spi/pl022_spi.c > > index f2e5367225..32bb8c8d21 100644 > > --- a/drivers/spi/pl022_spi.c > > +++ b/drivers/spi/pl022_spi.c > > @@ -12,7 +12,7 @@ > > #include > > #include > > #include > > -#include > > +#include > > #include > > #include > > > > diff --git a/include/dm/platform_data/pl022_spi.h b/include/dm/platform_data/spi_pl022.h > > similarity index 82% > > rename from include/dm/platform_data/pl022_spi.h > > rename to include/dm/platform_data/spi_pl022.h > > index df8870169d..63a58ee453 100644 > > --- a/include/dm/platform_data/pl022_spi.h > > +++ b/include/dm/platform_data/spi_pl022.h > > @@ -7,8 +7,8 @@ > > * in ofdata_to_platdata. > > */ > > > > -#ifndef __PL022_SPI_H__ > > -#define __PL022_SPI_H__ > > +#ifndef __spi_pl022_h > > +#define __spi_pl022_h > > > > #include > > > > @@ -18,4 +18,4 @@ struct pl022_spi_pdata { > > unsigned int freq; > > }; > > > > -#endif > > +#endif /* __spi_pl022_h */ > > Acked-by: Quentin Schulz Applied to u-boot-spi/master