aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/bcm-lpm/bcm_bt_lpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/bcm-lpm/bcm_bt_lpm.c')
-rw-r--r--drivers/misc/bcm-lpm/bcm_bt_lpm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/misc/bcm-lpm/bcm_bt_lpm.c b/drivers/misc/bcm-lpm/bcm_bt_lpm.c
index 335a9258df57..0c711b54d361 100644
--- a/drivers/misc/bcm-lpm/bcm_bt_lpm.c
+++ b/drivers/misc/bcm-lpm/bcm_bt_lpm.c
@@ -29,7 +29,6 @@
#include <linux/pm_runtime.h>
#include <linux/delay.h>
#include <asm/intel-mid.h>
-#include <asm/intel_mid_hsu.h>
#ifndef CONFIG_ACPI
#include <asm/bcm_bt_lpm.h>
@@ -320,8 +319,8 @@ static int bcm_bt_lpm_init(struct platform_device *pdev)
return ret;
}
- tty_dev = intel_mid_hsu_set_wake_peer(bt_lpm.port,
- bcm_bt_lpm_wake_peer);
+ tty_dev = &pdev->dev;
+
if (!tty_dev) {
pr_err("Error no tty dev");
gpio_free(bt_lpm.gpio_wake);