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

Jeroen Hofstee
2014-10-08T20:57:45Z

Signed-off-by: Jeroen Hofstee <jeroen@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