From: Stephen Rothwell Date: Tue, 29 Oct 2013 09:10:13 +0000 (+1100) Subject: gpiolib: include gpio/consumer.h in of_gpio.h for desc_to_gpio() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=335d7a7d63aa3a6da4d4903ef6e64de4a88f27da;p=pandora-kernel.git gpiolib: include gpio/consumer.h in of_gpio.h for desc_to_gpio() Fixes this build error on sparc: In file included from drivers/spi/spi.c:33:0: include/linux/of_gpio.h: In function 'of_get_named_gpio_flags': include/linux/of_gpio.h:93:3: error: implicit declaration of function 'desc_to_gpio' [-Werror=implicit-function-declaration] Signed-off-by: Stephen Rothwell Signed-off-by: Linus Walleij --- Reading git-diff-tree failed