linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi: Staticize spi_dev_set_name()
@ 2013-11-06 19:11 Jarkko Nikula
  0 siblings, 0 replies; only message in thread
From: Jarkko Nikula @ 2013-11-06 19:11 UTC (permalink / raw)
  To: Rafael J. Wysocki, Mark Brown
  Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, Fengguang Wu, Jarkko Nikula

From: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

[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 <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Jarkko Nikula <jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-06 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 19:11 [PATCH] spi: Staticize spi_dev_set_name() Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).