diff options
| author | 2026-04-02 16:11:15 +0200 | |
|---|---|---|
| committer | 2026-04-13 09:19:27 -0400 | |
| commit | 81f971c6abec59240e2bcfc38756bda8172fa788 (patch) | |
| tree | bc9567d810c7309cda6ca82d96d48b6b1172f027 /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git: | |
| parent | Bluetooth: btusb: Add MT7927 ID for ASUS X870E / ProArt X870E-Creator (diff) | |
Bluetooth: btmtk: hide unused btmtk_mt6639_devs[] array
When USB support is disabled, the array is not referenced anywhere,
causing a warning:
drivers/bluetooth/btmtk.c:35:3: error: 'btmtk_mt6639_devs' defined but not used [-Werror=unused-const-variable=]
35 | } btmtk_mt6639_devs[] = {
| ^~~~~~~~~~~~~~~~~
Move it into the #ifdef block.
Fixes: 28b7c5a6db74 ("Bluetooth: btmtk: Add MT6639 (MT7927) Bluetooth support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
