aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/battery/fuelgauge/dummy_fuelgauge.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/battery/fuelgauge/dummy_fuelgauge.h')
-rw-r--r--include/linux/battery/fuelgauge/dummy_fuelgauge.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/battery/fuelgauge/dummy_fuelgauge.h b/include/linux/battery/fuelgauge/dummy_fuelgauge.h
new file mode 100644
index 0000000..14c466c
--- /dev/null
+++ b/include/linux/battery/fuelgauge/dummy_fuelgauge.h
@@ -0,0 +1,30 @@
+/*
+ * dummy_fuelgauge.h
+ * Samsung Dummy Fuel Gauge Header
+ *
+ * Copyright (C) 2012 Samsung Electronics, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * 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 __DUMMY_FUELGAUGE_H
+#define __DUMMY_FUELGAUGE_H __FILE__
+
+/* Slave address should be shifted to the right 1bit.
+ * R/W bit should NOT be included.
+ */
+#define SEC_FUELGAUGE_I2C_SLAVEADDR 0x00
+
+struct sec_fg_info {
+ bool dummy;
+};
+
+#endif /* __DUMMY_FUELGAUGE_H */