From: Tomi Valkeinen Date: Mon, 6 Oct 2014 12:03:57 +0000 (+0300) Subject: videomode: provide dummy inline functions for !CONFIG_OF X-Git-Tag: fixes-against-v3.18-rc2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422b67e0b31a0ed132f8091b6f3d5465d9df9387;p=pandora-kernel.git videomode: provide dummy inline functions for !CONFIG_OF If CONFIG_OF is disabled but we build any driver that tries to use of_get_display_timing, we get this link error: ERROR: "of_get_display_timing" [drivers/gpu/drm/rcar-du/rcar-du-drm.ko] undefined! This adds an empty inline function as an alternative, to avoid changing each driver using this function when we want to build them without CONFIG_OF. Reported-by: Arnd Bergmann Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed