diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-04-02 16:11:15 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-04-13 09:19:27 -0400 |
| commit | 81f971c6abec59240e2bcfc38756bda8172fa788 (patch) | |
| tree | bc9567d810c7309cda6ca82d96d48b6b1172f027 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 751b06a28b3fce0ec7a1d0df357e329dd58ad7c3 (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/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
