Re: [PATCH v2] drm/pl111: fix warnings without CONFIG_ARM_AMBA

2017-05-31 Thread Eric Anholt
Arnd Bergmann writes: > The driver is written in a way to enable compile-testing without > CONFIG_ARM_AMBA, > but it just causes needless warnings: > > drivers/gpu/drm/pl111/pl111_drv.c:149:26: error: 'pl111_drm_driver' defined > but not used [-Werror=unused-variable] > drivers/gpu/drm/pl111/pl

[PATCH v2] drm/pl111: fix warnings without CONFIG_ARM_AMBA

2017-05-24 Thread Arnd Bergmann
The driver is written in a way to enable compile-testing without CONFIG_ARM_AMBA, but it just causes needless warnings: drivers/gpu/drm/pl111/pl111_drv.c:149:26: error: 'pl111_drm_driver' defined but not used [-Werror=unused-variable] drivers/gpu/drm/pl111/pl111_drv.c:81:12: error: 'pl111_modese