]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Nov 2018 06:24:08 +0000 (11:54 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 27 Nov 2018 15:36:46 +0000 (21:06 +0530)
Rename platform_data include file as spi_pl022.h from pl022_spi.h,
this is generic notation used for spi platdata include files.

Acked-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/pl022_spi.c
include/dm/platform_data/spi_pl022.h [moved from include/dm/platform_data/pl022_spi.h with 82% similarity]

index f2e5367225525d04c876cad80f135ca7c18bcde4..32bb8c8d2127f6663341e5f825b71a05a7fa9230 100644 (file)
@@ -12,7 +12,7 @@
 #include <clk.h>
 #include <common.h>
 #include <dm.h>
-#include <dm/platform_data/pl022_spi.h>
+#include <dm/platform_data/spi_pl022.h>
 #include <linux/io.h>
 #include <spi.h>
 
similarity index 82%
rename from include/dm/platform_data/pl022_spi.h
rename to include/dm/platform_data/spi_pl022.h
index df8870169dde0ceef1ce08cb0a72cb1b0e40d1e4..63a58ee4535365737f7914b397bb0580ff9ada49 100644 (file)
@@ -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 <fdtdec.h>
 
@@ -18,4 +18,4 @@ struct pl022_spi_pdata {
        unsigned int freq;
 };
 
-#endif
+#endif /* __spi_pl022_h */