spi: Staticize spi_dev_set_name()
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"]
Signed-off-by Fengguang Wu <[email protected]>
--- drivers/spi/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi.c +1 -1
@@ -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