diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-22 11:54:08 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-27 21:06:46 +0530 |
commit | 3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (patch) | |
tree | 0da0c9f0a93037f4431a77286ea5d50df8faeeb5 | |
parent | e6f76d555e3b1d23dec3c9c7b73a51ea1ac3ec30 (diff) | |
download | u-boot-3ae6030cf9587d310ee9cb8c3b17e9a8693f7636.tar.gz u-boot-3ae6030cf9587d310ee9cb8c3b17e9a8693f7636.tar.xz u-boot-3ae6030cf9587d310ee9cb8c3b17e9a8693f7636.zip |
dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h
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>
-rw-r--r-- | drivers/spi/pl022_spi.c | 2 | ||||
-rw-r--r-- | include/dm/platform_data/spi_pl022.h (renamed from include/dm/platform_data/pl022_spi.h) | 6 |
2 files changed, 4 insertions, 4 deletions
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 <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> diff --git a/include/dm/platform_data/pl022_spi.h b/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 <fdtdec.h> @@ -18,4 +18,4 @@ struct pl022_spi_pdata { unsigned int freq; }; -#endif +#endif /* __spi_pl022_h */ |