Commit 642d7b63 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Wolfgang Denk
Browse files

kirkwood/gpio.h: remove duplicate definition


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent 3ac374c0
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment