diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-01 09:24:56 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-05 08:37:54 +0100 |
commit | d85c580eebaad93c2dd3dfc72c89088c9d6e0210 (patch) | |
tree | cfae8a487e18e3bae815de3e3e1c27168dc8cf76 /include/blspec.h | |
parent | 6b12fb727ecbfce6ab4c9151ce69d4d276d4217d (diff) | |
download | barebox-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.h | 2 |
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); |