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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Mark Brown 2012-09-07 08:23:06 +08:00
commit ac2cb30b47

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