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: 3501871 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8DEB9C02DC for ; Fri, 17 Jan 2014 04:37:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D63EB20142 for ; Fri, 17 Jan 2014 04:37:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 177D720127 for ; Fri, 17 Jan 2014 04:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbaAQEhN (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6k/tR+63Foq+tnYD1ksOetFiKnxwRPdGYCBlO5zxXpI=; b=Y0J7VBYtZn8YdeUFpSU85FEthJt7jURLPmirrEODbLuW5GI6ZstO6tB+8GuDGZgd/f Cp7SxwRpt5Ol3wJThqCNm7a+11X7v9+hpWgRiHThQiIGrqG3CPEQVFAcjSd8yyDvGWbN jdGJhOOZQ/Ut+d9mskEo7Qfq9YYRW3fYTl9x6drATRKZtDaPWtDfZgZybBEQ8kVYGwLT 49c7W2YUtZBUGjeIvWUrFlR2sIQzpHqLjx10tWO8Ma0kGGH57BlKM1Khl4pXv0f9ngdz WeuO+hWOE26QAqYLEpgnPfE5tUVbl1/oZrjfPMVLo4KB4pP7PXSJ4o+ZsP7DuljLZEBn weFg== X-Gm-Message-State: ALoCoQn6ki2yMGNyHC5J0jTAvX07wT8HPwP4rRq8FnVyiSNu8TJGxdzqOonH1HYtgJ6k7Bwld7NE 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: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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