summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-05-06 21:36:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-06 21:36:12 +0200
commit4a854c9f4926d96a08ae4b982014ae860a628414 (patch)
tree5e55b243fce5ef82148f25a7ac870656fcd785f5 /include
parent15e906affd3f20c99d27ee33dcf8168ee5c5d050 (diff)
parent29abc10d44c221ce19cdd83da45178f077924db6 (diff)
downloadbarebox-4a854c9f4926d96a08ae4b982014ae860a628414.tar.gz
barebox-4a854c9f4926d96a08ae4b982014ae860a628414.tar.xz
Merge branch 'for-next/imx'
Diffstat (limited to 'include')
-rw-r--r--include/habv4.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/habv4.h b/include/habv4.h
new file mode 100644
index 0000000000..fb6ed99d82
--- /dev/null
+++ b/include/habv4.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2014, 2015 Marc Kleine-Budde <mkl@pengutronix.de>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __HABV4_H
+#define __HABV4_H
+
+#ifdef CONFIG_HABV4
+int habv4_get_status(void);
+#else
+static inline int habv4_get_status()
+{
+ return -EPERM;
+}
+#endif
+
+#endif /* __HABV4_H */