diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/altera_spi.c | 2 | ||||
-rw-r--r-- | drivers/spi/atmel_spi.c | 2 | ||||
-rw-r--r-- | drivers/spi/rk_spi.c | 2 | ||||
-rw-r--r-- | drivers/spi/sandbox_spi.c | 2 | ||||
-rw-r--r-- | drivers/spi/tegra114_spi.c | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index c8dcb82150..f729347ee2 100644 --- a/drivers/spi/altera_spi.c +++ b/drivers/spi/altera_spi.c @@ -15,8 +15,6 @@ #include <spi.h> #include <asm/io.h> -DECLARE_GLOBAL_DATA_PTR; - #define ALTERA_SPI_STATUS_RRDY_MSK BIT(7) #define ALTERA_SPI_CONTROL_SSO_MSK BIT(10) diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index 3cdfd366ab..445d8652f9 100644 --- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c @@ -24,8 +24,6 @@ #include "atmel_spi.h" -DECLARE_GLOBAL_DATA_PTR; - #ifndef CONFIG_DM_SPI static int spi_has_wdrbt(struct atmel_spi_slave *slave) diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index 03d3fa6763..71a665ecd4 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -22,8 +22,6 @@ #include <dm/pinctrl.h> #include "rk_spi.h" -DECLARE_GLOBAL_DATA_PTR; - /* Change to 1 to output registers at the start of each transaction */ #define DEBUG_RK_SPI 0 diff --git a/drivers/spi/sandbox_spi.c b/drivers/spi/sandbox_spi.c index 092b13b00b..75ba6a1ed7 100644 --- a/drivers/spi/sandbox_spi.c +++ b/drivers/spi/sandbox_spi.c @@ -20,8 +20,6 @@ #include <asm/state.h> #include <dm/device-internal.h> -DECLARE_GLOBAL_DATA_PTR; - #ifndef CONFIG_SPI_IDLE_VAL # define CONFIG_SPI_IDLE_VAL 0xFF #endif diff --git a/drivers/spi/tegra114_spi.c b/drivers/spi/tegra114_spi.c index 04b4fce061..faf609bba5 100644 --- a/drivers/spi/tegra114_spi.c +++ b/drivers/spi/tegra114_spi.c @@ -14,8 +14,6 @@ #include <spi.h> #include "tegra_spi.h" -DECLARE_GLOBAL_DATA_PTR; - /* COMMAND1 */ #define SPI_CMD1_GO BIT(31) #define SPI_CMD1_M_S BIT(30) |