Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3e3affe5 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Philipp Zabel
Browse files

drm/imx: hide an unused label



The imx_drm_bind function causes a warning in linux-next when
CONFIG_DRM_FBDEV_EMULATION is not set:

drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind':
drivers/gpu/drm/imx/imx-drm-core.c:441:1: error: label 'err_unbind' defined but not used [-Werror=unused-label]

I don't understand why the warning only showed up now, as the
code has not been modified recently, but there is an obvious
fix in adding another #if for the symbol.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: c1ff5a7a ("drm/imx: Remove local fbdev emulation Kconfig option")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 1001354c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment