[U-Boot] Subject: [PATCH] kirkwood/gpio.h: remove duplicate definition

Alessandro Rubini rubini-list at gnudd.com
Fri Aug 7 12:35:47 CEST 2009


Signed-off-by: Alessandro Rubini <rubini at gnudd.com>
---

To test the define is not really needed, I applied the suen3 patch and
added CONFIG_KIRKWOOD_GPIO to the config file.

Now back to defrag stuff.

 include/asm-arm/arch-kirkwood/gpio.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/asm-arm/arch-kirkwood/gpio.h b/include/asm-arm/arch-kirkwood/gpio.h
index a79102b..b5bacde 100644
--- a/include/asm-arm/arch-kirkwood/gpio.h
+++ b/include/asm-arm/arch-kirkwood/gpio.h
@@ -17,8 +17,6 @@
 #ifndef __KIRKWOOD_GPIO_H
 #define __KIRKWOOD_GPIO_H
 
-/* got from kernel include/linux/kernel.h */
-#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
 /* got from kernel include/linux/bitops.h */
 #define BITS_PER_BYTE 8
 #define BITS_TO_LONGS(nr)	DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
-- 
1.6.0.2


More information about the U-Boot mailing list