summaryrefslogtreecommitdiffstats
path: root/drivers/net/miiphy.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-10-27 12:06:01 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-10-27 12:18:25 +0100
commit983630ef2b54e077dbf1ef087490577a1692d5ba (patch)
tree9387b16c073a90a6b54243605a09badbe36797dc /drivers/net/miiphy.c
parenta3624bc1a602d457fc42f981ed7b412c8a4ec5c9 (diff)
downloadbarebox-983630ef2b54e077dbf1ef087490577a1692d5ba.tar.gz
barebox-983630ef2b54e077dbf1ef087490577a1692d5ba.tar.xz
[miiphy] declare miiphy_{read,write} functions static
This patch declares miiphy_read and miiphy_write static. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/miiphy.c')
-rw-r--r--drivers/net/miiphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/miiphy.c b/drivers/net/miiphy.c
index 9afaaa0a88..0f1090926b 100644
--- a/drivers/net/miiphy.c
+++ b/drivers/net/miiphy.c
@@ -122,7 +122,7 @@ err_out:
return -1;
}
-ssize_t miiphy_read(struct device_d *dev, void *_buf, size_t count, ulong offset, ulong flags)
+static ssize_t miiphy_read(struct device_d *dev, void *_buf, size_t count, ulong offset, ulong flags)
{
int i = count;
uint16_t *buf = _buf;
@@ -138,7 +138,7 @@ ssize_t miiphy_read(struct device_d *dev, void *_buf, size_t count, ulong offset
return count;
}
-ssize_t miiphy_write(struct device_d *dev, const void *_buf, size_t count, ulong offset, ulong flags)
+static ssize_t miiphy_write(struct device_d *dev, const void *_buf, size_t count, ulong offset, ulong flags)
{
int i = count;
const uint16_t *buf = _buf;