summaryrefslogtreecommitdiff
path: root/arch/alpha/boot
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-04 00:16:36 +0900
committerMark Brown <broonie@kernel.org>2015-05-04 13:57:36 +0100
commite0d58cdcaedd90e42162772f9b642e4ee680dd03 (patch)
tree2247ab7e6bbd8d88284fb677cccf19903bf50993 /arch/alpha/boot
parent5d0fe6362e7d416002ea4ee61bfe3ae6f505e9cc (diff)
spi: bcm2835: depends GPIOLIB
I got following error on CONFIG_GPIOLIB=n. drivers/spi/spi-bcm2835.c: In function 'chip_match_name': drivers/spi/spi-bcm2835.c:356:21: error: dereferencing pointer to incomplete type 'struct gpio_chip' return !strcmp(chip->label, data); ^ drivers/spi/spi-bcm2835.c: In function 'bcm2835_spi_setup': drivers/spi/spi-bcm2835.c:382:9: error: implicit declaration of function 'gpiochip_find' [-Werror=implicit-function-declaration] chip = gpiochip_find("pinctrl-bcm2835", chip_match_name); ^ drivers/spi/spi-bcm2835.c:382:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] chip = gpiochip_find("pinctrl-bcm2835", chip_match_name); ^ drivers/spi/spi-bcm2835.c: In function 'chip_match_name': drivers/spi/spi-bcm2835.c:357:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/alpha/boot')
0 files changed, 0 insertions, 0 deletions