kirkwood/gpio.h: remove duplicate definition

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
This commit is contained in:
Alessandro Rubini 2009-08-07 12:35:47 +02:00 committed by Wolfgang Denk
parent 3ac374c0f0
commit 642d7b63c3

View file

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