summaryrefslogtreecommitdiffstats
path: root/include/blspec.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-11-01 09:24:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-05 08:37:54 +0100
commitd85c580eebaad93c2dd3dfc72c89088c9d6e0210 (patch)
treecfae8a487e18e3bae815de3e3e1c27168dc8cf76 /include/blspec.h
parent6b12fb727ecbfce6ab4c9151ce69d4d276d4217d (diff)
downloadbarebox-d85c580eebaad93c2dd3dfc72c89088c9d6e0210.tar.gz
barebox-d85c580eebaad93c2dd3dfc72c89088c9d6e0210.tar.xz
blspec: Let scan functions return the number of entries found
So that callers can detect whether entries are found or not. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/blspec.h')
-rw-r--r--include/blspec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/blspec.h b/include/blspec.h
index a7b189acd0..7b483d312f 100644
--- a/include/blspec.h
+++ b/include/blspec.h
@@ -33,7 +33,7 @@ int blspec_boot(struct blspec_entry *entry, int verbose, int dryrun);
int blspec_boot_devicename(const char *devname, int verbose, int dryrun);
-void blspec_scan_devices(struct blspec *blspec);
+int blspec_scan_devices(struct blspec *blspec);
struct blspec_entry *blspec_entry_default(struct blspec *l);
int blspec_scan_devicename(struct blspec *blspec, const char *devname);