summaryrefslogtreecommitdiff
path: root/scripts/git-resolve.sh
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-04-09 14:23:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-17 10:56:11 +0200
commita7924f4c489bb6a3f28850f13eaa3e1d2747d0fb (patch)
tree8bdeb1dd924a18dd6faad5980ed3a5e21f11a787 /scripts/git-resolve.sh
parentc2c707bd45426df6edc5cf9f5f9fd857bd9926a9 (diff)
comedi: ni_atmio: avoid warning for unused device_ids[] table
When the driver is built-in, it produces a W=1 warning: drivers/comedi/drivers/ni_atmio.c:209:35: error: 'device_ids' defined but not used [-Werror=unused-const-variable=] 209 | static const struct pnp_device_id device_ids[] = { The actual probe() function has a different way of identifying the hardware, so just mark this one as __maybe_unused so it can be dropped when built-in. Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20250409122314.2848028-8-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git-resolve.sh')
0 files changed, 0 insertions, 0 deletions