mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 03:23:32 -04:00
kirkwood/gpio.h: remove duplicate definition
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
This commit is contained in:
parent
3ac374c0f0
commit
642d7b63c3
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user