summaryrefslogtreecommitdiff
path: root/include/linux/batterydata-interface.h
diff options
context:
space:
mode:
authorAnirudh Ghayal <aghayal@codeaurora.org>2015-12-30 13:16:19 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:16:24 -0700
commiteeedd1c5023084a7b934141d281cee0097da6ba9 (patch)
tree7cf3d1a665846aaa2749c39ddf22e206b84c33a6 /include/linux/batterydata-interface.h
parent8e26a3a840eea77649a98b3864f065f288add5f6 (diff)
include: batterydata-interface: Add snapshot of the batterydata files
Add snapshot of the batterydata-interface files from msm-3.10, this is required for qpnp-vmbms module. (msm-3.10 commit - 7704c94d47f8ed7cc81e487ab9d576ef52e0f1e5) Change-Id: I322774879dec5856443c90280f7eb8b1b7f07798 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Diffstat (limited to 'include/linux/batterydata-interface.h')
-rw-r--r--include/linux/batterydata-interface.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/batterydata-interface.h b/include/linux/batterydata-interface.h
new file mode 100644
index 000000000000..9c234ac4211d
--- /dev/null
+++ b/include/linux/batterydata-interface.h
@@ -0,0 +1,15 @@
+/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <uapi/linux/batterydata-interface.h>
+
+int config_battery_data(struct bms_battery_data *profile);