summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:33 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:02:00 -0400
commit76ee65bde2ea3cf89be7cddacf2c1893d49e20fc (patch)
tree62187076bd6dea807112034899538248dc8756f5 /disk
parent2588ba14dbc4aebbcf6012326a1bdce64dddacbb (diff)
disk/part.c: make local function static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index cfd77b0ff56..43485c9148b 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -57,7 +57,7 @@ static const struct block_drvr block_drvr[] = {
DECLARE_GLOBAL_DATA_PTR;
#ifdef HAVE_BLOCK_DEVICE
-block_dev_desc_t *get_dev_hwpart(const char *ifname, int dev, int hwpart)
+static block_dev_desc_t *get_dev_hwpart(const char *ifname, int dev, int hwpart)
{
const struct block_drvr *drvr = block_drvr;
block_dev_desc_t* (*reloc_get_dev)(int dev);