Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment