diff options
| author | Arnd Bergmann <[email protected]> | 2025-02-25 20:25:35 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2025-02-25 20:58:41 +0000 |
| commit | 496b7d2e5b936e3e8eae651b51db8a2f9cf0f8b8 (patch) | |
| tree | 0255aa0ff8127bc6105dc9fcedfb5d4b9454afea /drivers/gpu/drm/amd/amdgpu | |
| parent | Input: apple_z2 - fix potential confusion in Kconfig (diff) | |
| download | kernel-496b7d2e5b936e3e8eae651b51db8a2f9cf0f8b8.tar.gz kernel-496b7d2e5b936e3e8eae651b51db8a2f9cf0f8b8.zip | |
Input: synaptics - hide unused smbus_pnp_ids[] array
When SMBUS is disabled, this is never referenced, causing a W=1 warning:
drivers/input/mouse/synaptics.c:164:27: error: 'smbus_pnp_ids' defined but not used [-Werror=unused-const-variable=]
Hide the array behind the same #ifdef as the code referencing it.
Fixes: e839ffab0289 ("Input: synaptics - add support for Intertouch devices")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
