[PATCH] drm: mark drm_of_component_match_add dummy inline

2016-10-26 Thread Sean Paul
On Wed, Oct 26, 2016 at 4:57 AM, Arnd Bergmann wrote: > The newly added drm_of_component_match_add helper is defined as > 'static' in a header when CONFIG_OF is disabled, causing a warning > each time the header is included: > > In file included from /git/arm-soc/drivers/gpu/drm/bridge/dw-hdmi.c:2

[PATCH] drm: mark drm_of_component_match_add dummy inline

2016-10-26 Thread Arnd Bergmann
The newly added drm_of_component_match_add helper is defined as 'static' in a header when CONFIG_OF is disabled, causing a warning each time the header is included: In file included from /git/arm-soc/drivers/gpu/drm/bridge/dw-hdmi.c:23:0: include/drm/drm_of.h:33:13: error: 'drm_of_component_match_