From patchwork Fri Jan 17 04:32:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23283 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 931AA20555 for ; Fri, 17 Jan 2014 04:37:16 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id e16sf5432344qcx.4 for ; Thu, 16 Jan 2014 20:37:15 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=h69hdV7FDmh1QKgAYLr+fUAqfVMjFX8R0JiuXsx/TbA=; b=PCYcjPw1ItO65AJevevSnZ49xwhD++RiB04JkSsw/kyhorjeSEJ3rS7nbxrnApFdvQ ggZrPD4KMz1mTQDvJglDI34pwR+2NPcIWAu0Qi/+3bT4MxNsvqbE27ab1b0ROUiuAh/M pZ8uzdV9woFKNzD11U36D1wF0hNsKD1AQGMwGDIcEfgyr3SV9MP+BnWNw8DMBSIIxurn X/SNrLjPrSXodSYvYQSiP6aoNNFGIn6591mTczqK3AJahZGPy96A/tz9GdtShZCmTuxJ QI6iLF7fO8sioaySKw+sI3fwtTbMFtRdQ40m4aqKw+kyfa5Q+Voobvps+1HcHDyGlla8 kMAg== X-Gm-Message-State: ALoCoQnKDiN5PAJx/2KU4KyMX91zfwSiheI5qa5o6E1iZBzTznJENvo6W+eu6rnvITM+M98grq+I X-Received: by 10.236.20.114 with SMTP id o78mr4254798yho.8.1389933435493; Thu, 16 Jan 2014 20:37:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.139 with SMTP id 11ls369647qgn.84.gmail; Thu, 16 Jan 2014 20:37:15 -0800 (PST) X-Received: by 10.52.227.193 with SMTP id sc1mr7123781vdc.1.1389933435380; Thu, 16 Jan 2014 20:37:15 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id xg12si4304067vcb.102.2014.01.16.20.37.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 20:37:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 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.47; Received: by mail-vb0-f47.google.com with SMTP id p6so1355632vbe.34 for ; Thu, 16 Jan 2014 20:37:15 -0800 (PST) X-Received: by 10.58.69.41 with SMTP id b9mr8700362veu.5.1389933435291; Thu, 16 Jan 2014 20:37:15 -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.59.13.131 with SMTP id ey3csp396980ved; Thu, 16 Jan 2014 20:37:14 -0800 (PST) X-Received: by 10.67.22.67 with SMTP id hq3mr14376064pad.132.1389933434384; Thu, 16 Jan 2014 20:37:14 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si9042446pao.36.2014.01.16.20.37.14; Thu, 16 Jan 2014 20:37:14 -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 S1751298AbaAQEhN (ORCPT + 1 other); Thu, 16 Jan 2014 23:37:13 -0500 Received: from mail-pd0-f180.google.com ([209.85.192.180]:62409 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751248AbaAQEhM (ORCPT ); Thu, 16 Jan 2014 23:37:12 -0500 Received: by mail-pd0-f180.google.com with SMTP id x10so2219667pdj.11 for ; Thu, 16 Jan 2014 20:37:12 -0800 (PST) X-Received: by 10.66.224.165 with SMTP id rd5mr14500738pac.119.1389933432212; Thu, 16 Jan 2014 20:37:12 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vp4sm25728502pab.8.2014.01.16.20.37.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 20:37:11 -0800 (PST) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, dh09.lee@samsung.com, tushar.behera@linaro.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/2] video: exynos: Fix S6E8AX0 LCD driver build error Date: Fri, 17 Jan 2014 10:02:52 +0530 Message-Id: <1389933172-22991-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389933172-22991-1-git-send-email-sachin.kamat@linaro.org> References: <1389933172-22991-1-git-send-email-sachin.kamat@linaro.org> 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.47 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..7e19b467b8f7 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 != m) default n help If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its