]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: mmp: mark usb_dma_mask as __maybe_unused
authorArnd Bergmann <arnd@arndb.de>
Fri, 15 Jan 2016 12:04:01 +0000 (13:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jul 2017 20:57:49 +0000 (22:57 +0200)
commit1c1953f351263bdc0857326bde7ff95a43700b6c
tree5348816bd7389217bfdd0cb71fa36ce8f606cf9b
parent293ea3d0ab9970c7f3d8163793d3407e5a86497a
ARM: mmp: mark usb_dma_mask as __maybe_unused

This variable may be used by some devices that each have their
on Kconfig symbol, or by none of them, and that causes a build
warning:

arch/arm/mach-mmp/devices.c:241:12: error: 'usb_dma_mask' defined but not used [-Werror=unused-variable]

Marking it __maybe_unused avoids the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mmp/devices.c