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>
This commit is contained in:
Mark Brown 2012-09-07 08:23:06 +08:00
parent 78bfee0e1e
commit ac2cb30b47
1 changed files with 1 additions and 1 deletions

View 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;
}