From patchwork Fri Jan 17 11:00:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23313 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 84B392054C for ; Fri, 17 Jan 2014 11:04:36 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id c10sf2039589igq.2 for ; Fri, 17 Jan 2014 03:04:35 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=49nE/mS+5SD7/EfxhP7pjMO3E6KZW1a8kScC8YyqZx4=; b=OqhKZhC6czpINS+HFTfUHCydpUt5Hg1OLGc3RxZxJkJ22cQX+dJ6SyQd7+OJQWBohw iITe5CMlRNddXHcopjZTgwb5/1uJ4GBWKJoXJ8/FIvYZX8/NKvgngR9SgbG1DBNIDReU 047H/GTEQgQ91Ez2Yi2AZDN1WYETFyKNLWs3izwuCv2nIKinoqOIPbS9nJ8jejy2gw5e 3tqg8C9z6B23fqqNfyye6ZcfyZmlhub5nMARRBzEx+OXDs0l2ASOiZxyg58jzPBeXykd SLeQNoxs6qpT7y0VeIhNM0odlLGPkgXqJ4wAVNZmNI+mryzZlVAQuE7uzgY+PNCCLZiH ZUlA== X-Gm-Message-State: ALoCoQmCGuizYoWswU6JxKCsWgT7HHjHsxeXgjQftQ6jcsLeB2SZiFHmOE8T2+55RWBjTC2l8Uz1 X-Received: by 10.42.196.71 with SMTP id ef7mr427349icb.24.1389956675797; Fri, 17 Jan 2014 03:04:35 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.200 with SMTP id p66ls358818qgp.74.gmail; Fri, 17 Jan 2014 03:04:35 -0800 (PST) X-Received: by 10.52.157.1 with SMTP id wi1mr528060vdb.12.1389956675614; Fri, 17 Jan 2014 03:04:35 -0800 (PST) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id a2si442270vea.143.2014.01.17.03.04.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 03:04:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so1518615vcb.0 for ; Fri, 17 Jan 2014 03:04:35 -0800 (PST) X-Received: by 10.221.51.5 with SMTP id vg5mr61723vcb.40.1389956675543; Fri, 17 Jan 2014 03:04:35 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp11103ved; Fri, 17 Jan 2014 03:04:35 -0800 (PST) X-Received: by 10.68.171.193 with SMTP id aw1mr1283605pbc.117.1389956674681; Fri, 17 Jan 2014 03:04:34 -0800 (PST) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id yd9si9845344pab.60.2014.01.17.03.04.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 03:04:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id v10so3901195pde.0 for ; Fri, 17 Jan 2014 03:04:34 -0800 (PST) X-Received: by 10.68.131.202 with SMTP id oo10mr1354124pbb.35.1389956674241; Fri, 17 Jan 2014 03:04:34 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id z10sm29433357pas.6.2014.01.17.03.04.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 03:04:33 -0800 (PST) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH v2] video: exynos: Fix S6E8AX0 LCD driver build error Date: Fri, 17 Jan 2014 16:30:17 +0530 Message-Id: <1389956417-1299-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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.220.169 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: 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