summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bbu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/bbu.h b/include/bbu.h
index 4a3d35e7ce..af2f84a64e 100644
--- a/include/bbu.h
+++ b/include/bbu.h
@@ -4,6 +4,7 @@
#include <asm-generic/errno.h>
#include <linux/list.h>
#include <linux/types.h>
+#include <filetype.h>
struct bbu_data {
#define BBU_FLAG_FORCE (1 << 0)
@@ -41,6 +42,9 @@ void bbu_handlers_list(void);
int bbu_register_handler(struct bbu_handler *);
+int bbu_register_std_file_update(const char *name, unsigned long flags,
+ char *devicefile, enum filetype imagetype);
+
#else
static inline int bbu_register_handler(struct bbu_handler *unused)
@@ -48,6 +52,11 @@ static inline int bbu_register_handler(struct bbu_handler *unused)
return -EINVAL;
}
+static inline int bbu_register_std_file_update(const char *name, unsigned long flags,
+ char *devicefile, enum filetype imagetype)
+{
+ return -ENOSYS;
+}
#endif
#endif /* __INCLUDE_BBU_H */