Skip to contentSkip to conversation

spi/gpio: Fix stub for spi_gpio_probe_dt()

PATCH New Mark Brown 1 participant 1 message Sep 7, 2012 SPI

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/spi/spi-gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-gpio.c +1 -1
index aed1615..a2b50c5 100644
@@ -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;
 }
Signature · 9 lines
1.7.10.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/