aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/power/max8922_charger_u1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/power/max8922_charger_u1.h')
-rw-r--r--include/linux/power/max8922_charger_u1.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/power/max8922_charger_u1.h b/include/linux/power/max8922_charger_u1.h
new file mode 100644
index 0000000..058f77e
--- /dev/null
+++ b/include/linux/power/max8922_charger_u1.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2011 Samsung Electronics
+ *
+ * <ms925.kim@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __MAX8922_CHARGER_H_
+#define __MAX8922_CHARGER_H_ __FILE__
+
+struct max8922_platform_data {
+ int (*topoff_cb)(void);
+ int (*cfg_gpio)(void);
+ int gpio_chg_en;
+ int gpio_chg_ing;
+ int gpio_ta_nconnected;
+};
+
+#endif /* __MAX8922_CHARGER_H_ */