Browse Source

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>
Mark Brown 12 years ago
parent
commit
ac2cb30b47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/spi/spi-gpio.c

+ 1 - 1
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;
 }