Skip to content

Commit

Permalink
spi/gpio: Fix stub for spi_gpio_probe_dt()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Sep 7, 2012
1 parent 78bfee0 commit ac2cb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ac2cb30

Please sign in to comment.