linux-next: build failure after merge of the spi-mb tree

From: Stephen Rothwell
Date: Sun Aug 05 2012 - 22:03:08 EST


Hi Mark,

After merging the spi-mb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/spi/spi-gpio.c: In function 'spi_gpio_setup':
drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Caused by casting a pointer to "unsigned int" in commit a38e7a71f120
("spi: spi-gpio: Add DT bindings").


drivers/spi/spi-gpio.c: In function 'spi_probe_dt':
drivers/spi/spi-gpio.c:389:39: error: parameter name omitted
drivers/spi/spi-gpio.c: In function 'spi_gpio_probe':
drivers/spi/spi-gpio.c:404:2: error: implicit declaration of function 'spi_gpio_probe_dt' [-Werror=implicit-function-declaration]

Caused by commit a38e7a71f120 ("spi: spi-gpio: Add DT bindings"). This
build does not have CONFIG_OF set.

I have used the spi-mb tree from next-20120803 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature