Skip to contentSkip to conversation

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

U-Boot Applied Alessandro Rubini 2 participants 2 messages Aug 7, 2009

lore
Share & tools
lore
#0 lore raw

---

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(-)
include/asm-arm/arch-kirkwood/gpio.h +0 -2
index a79102b..b5bacde 100644
@@ -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))
Signature · 1 line
1.6.0.2
#1 lore raw
Quoted 10 lines · Alessandro Rubini

---

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(-)

applied to u-boo-arm

Best Regards,
J.