diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/bcm-lpm/Kconfig | 2 | ||||
-rw-r--r-- | drivers/misc/bcm-lpm/bcm_bt_lpm.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/misc/bcm-lpm/Kconfig b/drivers/misc/bcm-lpm/Kconfig index cb8443aca6f0..378ee3744c3b 100644 --- a/drivers/misc/bcm-lpm/Kconfig +++ b/drivers/misc/bcm-lpm/Kconfig @@ -1,6 +1,6 @@ config BCM_BT_LPM tristate "Broadcom Bluetooth Low Power Mode" - depends on SERIAL_MFD_HSU + depends on SERIAL_8250 default m help Select this module for Broadcom Bluetooth low power management. 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); |