summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tps65912.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/tps65912.h')
-rw-r--r--include/linux/mfd/tps65912.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/mfd/tps65912.h b/include/linux/mfd/tps65912.h
index 6452efcdd8c..426f5e5e08f 100644
--- a/include/linux/mfd/tps65912.h
+++ b/include/linux/mfd/tps65912.h
@@ -15,10 +15,6 @@
#ifndef __LINUX_MFD_TPS65912_H
#define __LINUX_MFD_TPS65912_H
-#ifdef CONFIG_POWER_KEY_OVERRIDE
-#include <linux/notifier.h>
-#endif
-
/* TPS regulator type list */
#define REGULATOR_LDO 0
#define REGULATOR_DCDC 1
@@ -345,13 +341,6 @@ struct tps65912 {
u32 powerkey_up_irq;
u32 powerkey_down_irq;
struct mutex pm_lock; /* guard access to spi bus from irq */
-#ifdef CONFIG_POWER_KEY_OVERRIDE
- struct notifier_block charger_nb;
- bool dockstatus;
- struct notifier_block display_nb;
- bool displaystatus;
- int lastkeyevent;
-#endif
};
struct tps65912_platform_data {