提交 ac2cb30b 编写于 作者: M 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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册