[#6998] Kernel compile error if CONFIG_GPIOLIB = n
Submitted By: Mike Sinkovsky
Open Date
2012-03-13 01:40:21 Close Date
2012-03-29 03:27:45
Priority:
Medium Assignee:
Bob Liu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
trunk
Category:
Make Errors Board:
Custom
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
trunk
App binary format:
N/A
Summary: Kernel compile error if CONFIG_GPIOLIB = n
Details:
In trunk kernel, if checkbox "GPIO Support" is unset (CONFIG_GPIOLIB=n), I have comilation error:
=======
CC arch/blackfin/kernel/bfin_gpio.o
In file included from /TRIKOM/KD3U-KCP1/.bfin-kernel/arch/blackfin/include/asm/gpio.h:265,
from arch/blackfin/kernel/bfin_gpio.c:15:
include/asm-generic/gpio.h: In function ‘gpio_get_value_cansleep’:
include/asm-generic/gpio.h:212: error: implicit declaration of function ‘__gpio_get_value’
include/asm-generic/gpio.h: In function ‘gpio_set_value_cansleep’:
include/asm-generic/gpio.h:218: error: implicit declaration of function ‘__gpio_set_value’
=======
If CONFIG_GPIOLIB=y - all compiles and works, but with notable performance degradation when doing intensive GPIO bitbanging.
Follow-ups
--- Mike Sinkovsky 2012-03-29 03:15:49
Tested, now works.
Thanks.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found