projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac374c
)
kirkwood/gpio.h: remove duplicate definition
author
Alessandro Rubini
<rubini-list@gnudd.com>
Fri, 7 Aug 2009 10:35:47 +0000
(12:35 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 9 Aug 2009 21:46:45 +0000
(23:46 +0200)
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
include/asm-arm/arch-kirkwood/gpio.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-kirkwood/gpio.h
b/include/asm-arm/arch-kirkwood/gpio.h
index a79102ba54d7f01a633e5e0e14a0cc88db9dc509..b5bacde347dcc16b381baa6c38c39c9d909e173c 100644
(file)
--- 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))