projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: replace @return by Return:
[platform/kernel/u-boot.git]
/
arch
/
x86
/
include
/
asm
/
arch-apollolake
/
lpc.h
diff --git
a/arch/x86/include/asm/arch-apollolake/lpc.h
b/arch/x86/include/asm/arch-apollolake/lpc.h
index
5d2adad
..
51d478f
100644
(file)
--- a/
arch/x86/include/asm/arch-apollolake/lpc.h
+++ b/
arch/x86/include/asm/arch-apollolake/lpc.h
@@
-7,6
+7,7
@@
#ifndef _ASM_ARCH_LPC_H
#define _ASM_ARCH_LPC_H
#ifndef _ASM_ARCH_LPC_H
#define _ASM_ARCH_LPC_H
+#include <linux/bitops.h>
#define LPC_SERIRQ_CTL 0x64
#define LPC_SCNT_EN BIT(7)
#define LPC_SCNT_MODE BIT(6)
#define LPC_SERIRQ_CTL 0x64
#define LPC_SCNT_EN BIT(7)
#define LPC_SCNT_MODE BIT(6)
@@
-66,7
+67,7
@@
void lpc_enable_fixed_io_ranges(uint io_enables);
*
* @base: Base I/O address (e.g. 0x800)
* @size: Size of window (e.g. 0x100)
*
* @base: Base I/O address (e.g. 0x800)
* @size: Size of window (e.g. 0x100)
- *
@return
0 if OK, -ENOSPC if there are no more windows available, -EALREADY
+ *
Return:
0 if OK, -ENOSPC if there are no more windows available, -EALREADY
* if already set up
*/
int lpc_open_pmio_window(uint base, uint size);
* if already set up
*/
int lpc_open_pmio_window(uint base, uint size);