aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/core/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/host.c')
-rw-r--r--drivers/mmc/core/host.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 9d5ff61c84d..98dee02c1e6 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -28,10 +28,6 @@
#include "core.h"
#include "host.h"
-#ifdef CONFIG_KEYBOARD_GPIO
-#include <linux/gpio_keys.h>
-#endif
-
#define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
static void mmc_host_classdev_release(struct device *dev)
@@ -343,10 +339,6 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
#ifdef CONFIG_PM
host->pm_notify.notifier_call = mmc_pm_notify;
#endif
-#ifdef CONFIG_KEYBOARD_GPIO
- host->force_poweroff_notifier.notifier_call = force_poweroff_notify;
- register_resetkey_notifier(&host->force_poweroff_notifier);
-#endif
/*
* By default, hosts do not support SGIO or large requests.