Home
last modified time | relevance | path

Searched hist:"089 bd46d8bc1fe5a28351e82e4adcaa5a40121b5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-pxa2xx.cdiff 089bd46d8bc1fe5a28351e82e4adcaa5a40121b5 Thu Sep 29 01:45:20 CDT 2016 Mika Westerberg <mika.westerberg@linux.intel.com> spi: pxa2xx: Fix build error because of missing header

Kbuild test robot reports:

drivers/spi/spi-pxa2xx.c: In function ‘setup_cs’:
drivers/spi/spi-pxa2xx.c:1190:20: error: implicit declaration of function ‘desc_to_gpio’
...

Reason for this is the fact that those functions are declared in
linux/gpio/consumer.h which is not included in the driver. Fix this by
including it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>