Messages in this thread | | | Subject | Re: [PATCH -next] Bluetooth: hci_bcm: Fix -Wunused-const-variable warnings | From | Marcel Holtmann <> | Date | Mon, 12 Aug 2019 19:10:53 +0200 |
| |
Hi Yue,
> If CONFIG_ACPI is not set, gcc warn this: > > drivers/bluetooth/hci_bcm.c:831:39: warning: > acpi_bcm_int_last_gpios defined but not used [-Wunused-const-variable=] > drivers/bluetooth/hci_bcm.c:838:39: warning: > acpi_bcm_int_first_gpios defined but not used [-Wunused-const-variable=] > > move them to #ifdef CONFIG_ACPI block. > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > drivers/bluetooth/hci_bcm.c | 30 +++++++++++++++--------------- > 1 file changed, 15 insertions(+), 15 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |