summaryrefslogtreecommitdiffstats
path: root/include/blspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/blspec.h')
-rw-r--r--include/blspec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/blspec.h b/include/blspec.h
index 7d911f030b..8297b9fdc1 100644
--- a/include/blspec.h
+++ b/include/blspec.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LOADER_H__
#define __LOADER_H__
@@ -19,8 +20,10 @@ const char *blspec_entry_var_get(struct blspec_entry *entry, const char *name);
int blspec_scan_devices(struct bootentries *bootentries);
-int blspec_scan_device(struct bootentries *bootentries, struct device_d *dev);
+int blspec_scan_device(struct bootentries *bootentries, struct device *dev);
int blspec_scan_devicename(struct bootentries *bootentries, const char *devname);
int blspec_scan_directory(struct bootentries *bootentries, const char *root);
+int blspec_scan_file(struct bootentries *bootentries, const char *root,
+ const char *configname);
#endif /* __LOADER_H__ */