mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
kirkwood/gpio.h: remove duplicate definition
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
This commit is contained in:
parent
3ac374c0f0
commit
642d7b63c3
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue