aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-08-07 17:22:14 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2017-08-07 17:22:14 +0200
commit5ad3f3f6eb1fbec716a61dbe46565dcd9ca94387 (patch)
tree482a7bad26e8e12609e5121eb03f29fa329cff8b /scripts/gdb/linux/modules.py
parentdfc8e9165cfe0b50438f51df5a82ab1dcc08baf4 (diff)
fbdev: matrox: hide unused 'hotplug' variable
The variable has become unused in modular configurations which triggers a harmless warning: drivers/video/fbdev/matrox/matroxfb_base.c:1583:12: error: 'hotplug' defined but not used [-Werror=unused-variable] This moves it into an #ifdef section of the file, matching all its references. Fixes: 376b3ff54c9a ("fbdev: Nuke FBINFO_MODULE") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Sean Paul <[email protected]> Cc: Arvind Yadav <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions