Disable rfkill for BT driver

This commit is contained in:
Florian Leeber 2020-12-14 00:00:29 +01:00
parent 693b6af586
commit 29b22f6662
2 changed files with 1 additions and 4 deletions

View file

@ -43,4 +43,4 @@ hci_uart-$(CONFIG_BT_HCIUART_BCM) += hci_bcm.o
hci_uart-$(CONFIG_BT_HCIUART_QCA) += hci_qca.o
hci_uart-objs := $(hci_uart-y)
ccflags-y += -D__CHECK_ENDIAN__
ccflags-y += -D__CHECK_ENDIAN__ -Wno-unused-function

View file

@ -643,9 +643,6 @@ static int bt_power_probe(struct platform_device *pdev)
goto free_pdata;
}
if (bluetooth_power_rfkill_probe(pdev) < 0)
goto free_pdata;
btpdev = pdev;
return 0;