The commit
a59dded59516 ("LOCAL / net: rfkill: adapt to mainline
API/framework changes") blocks bluetooth low power mode feature
which requires bluetooth hci core modification but bt_lpm_wake()
function remains unused. Block the unused function to fix build
warning.
Change-Id: I91afca0435b1399d481d8d8b2130b83e8de7bba0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
return HRTIMER_NORESTART;
}
+#if 0
static void bt_lpm_wake(struct rfkill_bcm_data *rfkill)
{
struct hrtimer *htimer = &rfkill->timer.htimer;
gpiod_set_value(rfkill->wake_gpio, 1);
hrtimer_start(htimer, rfkill->timer.sleep_delay, HRTIMER_MODE_REL);
}
+#endif
static int bt_lpm_init(struct rfkill_bcm_data *rfkill)
{