9236deac9647b618155af7d49dfb0cf130e8bc69
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 013-mips_generic_gpio_support.patch
1 --- a/arch/mips/defconfig
2 +++ b/arch/mips/defconfig
3 @@ -69,6 +69,7 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y
4 CONFIG_GENERIC_HWEIGHT=y
5 CONFIG_GENERIC_CALIBRATE_DELAY=y
6 CONFIG_GENERIC_TIME=y
7 +CONFIG_GENERIC_GPIO=n
8 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
9 # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
10 CONFIG_ARC=y
11 --- a/arch/mips/Kconfig
12 +++ b/arch/mips/Kconfig
13 @@ -869,6 +869,10 @@ config GENERIC_TIME
14 bool
15 default y
16
17 +config GENERIC_GPIO
18 + bool
19 + default n
20 +
21 config SCHED_NO_NO_OMIT_FRAME_POINTER
22 bool
23 default y
24 --- /dev/null
25 +++ b/include/asm-mips/gpio.h
26 @@ -0,0 +1,6 @@
27 +#ifndef _ASM_MIPS_GPIO_H
28 +#define _ASM_MIPS_GPIO_H
29 +
30 +#include <gpio.h>
31 +
32 +#endif /* _ASM_MIPS_GPIO_H */
This page took 0.05552 seconds and 3 git commands to generate.