[U-Boot] [PATCH 25/49] spi: make local functions static

Jeroen Hofstee jeroen at myspectrum.nl
Wed Oct 8 22:57:45 CEST 2014


Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
---
 drivers/power/power_spi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/power/power_spi.c b/drivers/power/power_spi.c
index fb455a0..0560ea5 100644
--- a/drivers/power/power_spi.c
+++ b/drivers/power/power_spi.c
@@ -17,13 +17,13 @@
 
 static struct spi_slave *slave;
 
-void pmic_spi_free(struct spi_slave *slave)
+static void pmic_spi_free(struct spi_slave *slave)
 {
 	if (slave)
 		spi_free_slave(slave);
 }
 
-struct spi_slave *pmic_spi_probe(struct pmic *p)
+static struct spi_slave *pmic_spi_probe(struct pmic *p)
 {
 	return spi_setup_slave(p->bus,
 		p->hw.spi.cs,
-- 
2.1.0



More information about the U-Boot mailing list