Skip to contentSkip to conversation

spi: Staticize spi_dev_set_name()

PATCH New Jarkko Nikula 1 participant 1 message Nov 6, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: Staticize spi_dev_set_name()

From: Fengguang Wu <[email protected]>

[Jarkko: I forgot to mark spi_dev_set_name() static in "spi: Use stable dev_name for ACPI enumerated SPI slaves"]

---
 drivers/spi/spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi.c +1 -1
index 3a6d157..d720d2b 100644
@@ -352,7 +352,7 @@ struct spi_device *spi_alloc_device(struct spi_master *master)
 }
 EXPORT_SYMBOL_GPL(spi_alloc_device);
 
-void spi_dev_set_name(struct spi_device *spi)
+static void spi_dev_set_name(struct spi_device *spi)
 {
 	if (ACPI_HANDLE(&spi->dev)) {
 		struct acpi_device *adev;
Signature · 6 lines
1.8.4.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html