diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-07 02:23:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-07 02:23:06 +0200 |
commit | ac2cb30b4792340d932545f41a8335da2632027d (patch) | |
tree | 0db17bdbe737f24b611f0ad8607b377064a1ff1d /drivers/spi/spi-gpio.c | |
parent | spi: spi-sh-hspi: drop frees of devm_ alloc'd data (diff) | |
download | linux-ac2cb30b4792340d932545f41a8335da2632027d.tar.xz linux-ac2cb30b4792340d932545f41a8335da2632027d.zip |
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>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
-rw-r--r-- | drivers/spi/spi-gpio.c | 2 |
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: 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; } |