From ac2cb30b4792340d932545f41a8335da2632027d Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 7 Sep 2012 08:23:06 +0800 Subject: spi/gpio: Fix stub for spi_gpio_probe_dt() The gpio_ was missing from the name. Add a name for the parameter while we're at it since GCC warns. Reported-by: Stephen Rothwell Signed-off-by: Mark Brown --- drivers/spi/spi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/spi') diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index aed16159584..a2b50c516b3 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c @@ -386,7 +386,7 @@ error_free: return ret; } #else -static inline int spi_probe_dt(struct platform_device *) +static inline int spi_gpio_probe_dt(struct platform_device *pdev) { return 0; } -- cgit v1.2.3-18-g5258