spi-bfin: Add missing gpio.h include
PATCH 1/1 spi-bfin: Add missing gpio.h include
Running my ktest.pl tests on all the archs, I stumbled over this for 3.15-rc2:
drivers/spi/spi-bfin5xx.c: In function 'bfin_spi_cs_active':drivers/spi/spi-bfin5xx.c:169:3: error: implicit declaration of function 'gpio_set_value' [-Werror=implicit-function-declaration] drivers/spi/spi-bfin5xx.c: In function 'bfin_spi_setup':drivers/spi/spi-bfin5xx.c:1097:4: error: implicit declaration of function 'gpio_request' [-Werror=implicit-function-declaration] drivers/spi/spi-bfin5xx.c:1102:4: error: implicit declaration of function 'gpio_direction_output' [-Werror=implicit-function-declaration] drivers/spi/spi-bfin5xx.c:1130:3: error: implicit declaration of function 'gpio_free' [-Werror=implicit-function-declaration]
The problem is that the spi-bfin5xx driver is missing an include for the gpio.h file.
---
drivers/spi/spi-bfin5xx.c +1 -0
@@ -15,6 +15,7 @@#include <linux/slab.h> #include <linux/io.h> #include <linux/ioport.h> +#include <linux/gpio.h> #include <linux/irq.h> #include <linux/errno.h> #include <linux/interrupt.h>
Quoted 2 lines · Steven Rostedt
Running my ktest.pl tests on all the archs, I stumbled over this for 3.15-rc2:
Applied, thanks.
Mark Brown
maintainerQuoted 5 lines · Mark Brown
Quoted 2 lines · Steven Rostedt
Running my ktest.pl tests on all the archs, I stumbled over this for 3.15-rc2:
Applied, thanks.
Actually not - I already have a fix for this in -next (on a slightly different branch to the one I looked for it on). Anyway, it's fixed.
Quoted 9 lines · On Thu, 24 Apr 2014 12:33:46 +0100 Mark Brown…
Quoted 5 lines · Mark Brown
Quoted 2 lines · Steven Rostedt
Running my ktest.pl tests on all the archs, I stumbled over this for 3.15-rc2:
Applied, thanks.
Actually not - I already have a fix for this in -next (on a slightly different branch to the one I looked for it on). Anyway, it's fixed.
Heh, OK, I figured someone may have already fixed it, but still wanted to let people know it was broken. It's amazing how long something like this can take.
It's just annoying when my tests break on something that I'm not testing ;-)
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Mark Brown
maintainerQuoted 2 lines · Steven Rostedt
It's just annoying when my tests break on something that I'm not testing ;-)
With something like this clearly you are testing it, even if you didn't mean to!