spi/gpio: Fix stub for spi_gpio_probe_dt()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Sep 2012 00:23:06 +0000 (08:23 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Sep 2012 00:23:06 +0000 (08:23 +0800)
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>
drivers/spi/spi-gpio.c

index aed1615..a2b50c5 100644 (file)
@@ -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;
 }