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"]
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Jarkko Nikula <[email protected]>
---
drivers/spi/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 3a6d157..d720d2b 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -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;
--
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