projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2588ba1
)
disk/part.c: make local function static
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:33 +0000
(22:57 +0200)
committer
Tom Rini
<trini@ti.com>
Sat, 25 Oct 2014 11:02:00 +0000
(07:02 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
disk/part.c
patch
|
blob
|
history
diff --git
a/disk/part.c
b/disk/part.c
index cfd77b0ff567cbacd4f5a3e6223e2edeb28fbd69..43485c9148b0f404e91cb0f45f9a3c76b2267578 100644
(file)
--- 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);