From: Arnd Bergmann Date: Thu, 24 Apr 2014 12:28:17 +0000 (+0100) Subject: video: sh_mobile_lcdcfb depends on meram X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~24^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=423431a3b5e20d82be6b7db9b72725e1f72e469e;p=pandora-kernel.git video: sh_mobile_lcdcfb depends on meram The sh_mobile_lcdcfb driver calls interfaces provided by the corresponding "meram" helper. This fails if meram is a module but lcdcfb is built-in. To work around it, this uses special Kconfig magic to only allow lcdcfb to be built if a) both are modules, b) meram is built-in, or c) meram is disabled and the helpers stubbed out Changing meram from 'y' to 'm' now forces clcd to be a module as well, which seems to be the desired behavior. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Simon Horman Cc: Magnus Damm Cc: linux-sh@vger.kernel.org Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed