aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-06 20:23:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-06 20:23:06 -0400
commitac2cb30b4792340d932545f41a8335da2632027d (patch)
tree0db17bdbe737f24b611f0ad8607b377064a1ff1d
parent78bfee0e1e2e22c3062b41be8db618e7484c8e35 (diff)
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 <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/spi/spi-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
index aed161595840..a2b50c516b31 100644
--- a/drivers/spi/spi-gpio.c
+++ b/drivers/spi/spi-gpio.c
@@ -386,7 +386,7 @@ error_free:
386 return ret; 386 return ret;
387} 387}
388#else 388#else
389static inline int spi_probe_dt(struct platform_device *) 389static inline int spi_gpio_probe_dt(struct platform_device *pdev)
390{ 390{
391 return 0; 391 return 0;
392} 392}