summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-kirkwood
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini-list@gnudd.com>2009-08-07 12:35:47 +0200
committerWolfgang Denk <wd@denx.de>2009-08-09 23:46:45 +0200
commit642d7b63c343633dcafc4e23a20e32604a05ff13 (patch)
treeb8a555f157e2bb1d86f8755c3f169b8598a99c10 /include/asm-arm/arch-kirkwood
parent3ac374c0f0b7d856f1a43317a286f2079106bd6a (diff)
downloadu-boot-imx-642d7b63c343633dcafc4e23a20e32604a05ff13.zip
u-boot-imx-642d7b63c343633dcafc4e23a20e32604a05ff13.tar.gz
u-boot-imx-642d7b63c343633dcafc4e23a20e32604a05ff13.tar.bz2
kirkwood/gpio.h: remove duplicate definition
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Diffstat (limited to 'include/asm-arm/arch-kirkwood')
-rw-r--r--include/asm-arm/arch-kirkwood/gpio.h2
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))