From patchwork Wed Feb 12 09:49:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 24525 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B6438203F3 for ; Wed, 12 Feb 2014 09:55:08 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oy12sf21197555veb.10 for ; Wed, 12 Feb 2014 01:55:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=nJX4T8J1nga7BgMtFjGpJ+IwiH8szT6MXPCx3EiBFqs=; b=Ui4ffmyiKpCb6JoxJktoV7thdw7c2hS78kivRaslXnImfDn/RrB2vwneHBfTVlJrk9 ISDvVj7aNSWRlnztspNSSP9/3VFl5I1yvfx4u9T7eZqpCwWBYkWyPt0QqT6KCErNrdd1 /J8ofSZfJYI1slixuS+IS1kIeZxenEzkTV2qBig74qhIwlY9nf3ONtpskOv01K8ZYWYB L+0NPH2vpah3dtvG+tvNBAkTpCBCNrx5Dw1ywFUdSFdMKyIb5uuGcLpuHGTHx0Z1On8M AV9IzaB1tx+sUfOBgjJDG3D5jUVbd6nwWY1rg6FoSojKPtd1MYUUCMmrHrK2C/etaX9o J2+w== X-Gm-Message-State: ALoCoQn8EBdrvzBWIUtlNmCg1nmkF+f/dqzqeY165VjZ86yHlxVOeuSlSGFf7NHEHbpM/S1tvl5b X-Received: by 10.236.94.113 with SMTP id m77mr1279402yhf.33.1392198907821; Wed, 12 Feb 2014 01:55:07 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.46.98 with SMTP id j89ls2903506qga.73.gmail; Wed, 12 Feb 2014 01:55:07 -0800 (PST) X-Received: by 10.58.243.3 with SMTP id wu3mr31975633vec.12.1392198907668; Wed, 12 Feb 2014 01:55:07 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id a5si7117721vez.82.2014.02.12.01.55.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 01:55:07 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.52; Received: by mail-vb0-f52.google.com with SMTP id p14so6651051vbm.25 for ; Wed, 12 Feb 2014 01:55:07 -0800 (PST) X-Received: by 10.52.248.138 with SMTP id ym10mr27242144vdc.18.1392198907582; Wed, 12 Feb 2014 01:55:07 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp23914vcz; Wed, 12 Feb 2014 01:55:07 -0800 (PST) X-Received: by 10.66.145.166 with SMTP id sv6mr38917090pab.31.1392198906464; Wed, 12 Feb 2014 01:55:06 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tq5si22112904pac.269.2014.02.12.01.55.06; Wed, 12 Feb 2014 01:55:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbaBLJzE (ORCPT + 1 other); Wed, 12 Feb 2014 04:55:04 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:35306 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752262AbaBLJy4 (ORCPT ); Wed, 12 Feb 2014 04:54:56 -0500 Received: by mail-pa0-f50.google.com with SMTP id kp14so9044282pab.9 for ; Wed, 12 Feb 2014 01:54:56 -0800 (PST) X-Received: by 10.66.197.197 with SMTP id iw5mr13382051pac.25.1392198896264; Wed, 12 Feb 2014 01:54:56 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id nz11sm26514376pab.6.2014.02.12.01.54.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 01:54:55 -0800 (PST) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, sachin.kamat@linaro.org Subject: [PATCH 1/1] video: exynos: Fix S6E8AX0 LCD driver build error Date: Wed, 12 Feb 2014 15:19:43 +0530 Message-Id: <1392198583-1828-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-fbdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.52 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable S6E8AX0 LCD driver only if LCD_CLASS_DEVICE is a built-in driver. Else we get the following errors due to missing symbols: drivers/built-in.o: In function `s6e8ax0_probe': :(.text+0x51aec): undefined reference to `lcd_device_register' :(.text+0x51c44): undefined reference to `lcd_device_unregister' Signed-off-by: Sachin Kamat --- drivers/video/exynos/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/exynos/Kconfig b/drivers/video/exynos/Kconfig index 976594d578a9..eb6f2b059821 100644 --- a/drivers/video/exynos/Kconfig +++ b/drivers/video/exynos/Kconfig @@ -22,7 +22,8 @@ config EXYNOS_MIPI_DSI config EXYNOS_LCD_S6E8AX0 bool "S6E8AX0 MIPI AMOLED LCD Driver" - depends on (EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE && LCD_CLASS_DEVICE) + depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE + depends on (LCD_CLASS_DEVICE = y) default n help If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its