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:
parent
78bfee0e1e
commit
ac2cb30b47
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue