summaryrefslogtreecommitdiffstats
path: root/commands/drvinfo.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:18:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:18:06 +0200
commit4cbecde30c1fbeb046e18df4c4f73069e8c1b14e (patch)
treeca63676ed928254e9e78ec4694c7d5cb22b26dfa /commands/drvinfo.c
parent3aa17a1e18bbc1d5c2acf09dc67af94cf31c9591 (diff)
downloadbarebox-4cbecde30c1fbeb046e18df4c4f73069e8c1b14e.tar.gz
commands: drvinfo: Make locally used function static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/drvinfo.c')
-rw-r--r--commands/drvinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/drvinfo.c b/commands/drvinfo.c
index 161118a..4a4b957 100644
--- a/commands/drvinfo.c
+++ b/commands/drvinfo.c
@@ -18,7 +18,7 @@
#include <command.h>
#include <driver.h>
-int do_drvinfo(int argc, char *argv[])
+static int do_drvinfo(int argc, char *argv[])
{
struct driver_d *drv;
struct device_d *dev;