Commit ac2cb30b authored by Mark Brown's avatar Mark Brown

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 78bfee0e
......@@ -386,7 +386,7 @@ static int spi_gpio_probe_dt(struct platform_device *pdev)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment