
Since BIT macro is visiable to include/common.h there is no need to define again it on local headers hence removed.
Signed-off-by: Jagan Teki jteki@openedev.com --- drivers/spi/davinci_spi.c | 2 -- drivers/spi/ep93xx_spi.c | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 0a036cc..0bd4f88 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -15,8 +15,6 @@ #include <asm/io.h> #include <asm/arch/hardware.h>
-#define BIT(x) (1 << (x)) - /* SPIGCR0 */ #define SPIGCR0_SPIENA_MASK 0x1 #define SPIGCR0_SPIRST_MASK 0x0 diff --git a/drivers/spi/ep93xx_spi.c b/drivers/spi/ep93xx_spi.c index 235557e..cdf30bb 100644 --- a/drivers/spi/ep93xx_spi.c +++ b/drivers/spi/ep93xx_spi.c @@ -9,15 +9,11 @@ */
#include <common.h> -#include <spi.h> #include <malloc.h> - +#include <spi.h> #include <asm/io.h> - #include <asm/arch/ep93xx.h>
- -#define BIT(x) (1<<(x)) #define SSPBASE SPI_BASE
#define SSPCR0 0x0000