]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: add GPIOF_ values regardless on kconfig settings
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 15 Jun 2011 00:05:11 +0000 (17:05 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Jun 2011 14:40:52 +0000 (08:40 -0600)
commitbebd663d1dcae71002747cb042e4cc6546d8df99
treea8c15469c4a09c3690479e1508ab7ca7acbfcbe7
parent7cab56b57ae5a4a0ed5b0a4f8cc1c19f72c452e9
gpio: add GPIOF_ values regardless on kconfig settings

Make GPIOF_ defined values available even when GPIOLIB nor GENERIC_GPIO
is enabled by moving them to <linux/gpio.h>.

Fixes these build errors in linux-next:
sound/soc/codecs/ak4641.c:524: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function)
sound/soc/codecs/wm8915.c:2921: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/asm-generic/gpio.h
include/linux/gpio.h