diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-12 09:22:11 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-09-05 18:27:21 +0300 |
commit | ff7c8380c9d36252a6b977cf9c7f8b75abfb8719 (patch) | |
tree | 56d9fbffab1def86543084cc869b8ec3166f82cd /tools/perf/scripts/python | |
parent | 9c81f2b7e7835a2a1fb1c4e96e36f710fc4b0728 (diff) | |
download | linux-ff7c8380c9d36252a6b977cf9c7f8b75abfb8719.tar.xz |
Bluetooth: hci_bcm: Fix -Wunused-const-variable warnings
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>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions