From patchwork Mon Jun 12 03:42:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 9780515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D939C60212 for ; Mon, 12 Jun 2017 06:59:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA7B428415 for ; Mon, 12 Jun 2017 06:59:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF469284C6; Mon, 12 Jun 2017 06:59:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6D08128415 for ; Mon, 12 Jun 2017 06:59:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 241E16E0C4; Mon, 12 Jun 2017 06:59:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC36189F55 for ; Mon, 12 Jun 2017 03:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cIfEkimo46q2kWkeZU88Jpo8sd/cwYUyCMJP9anmwyg=; b=d40EODn0G3wBcrzI9yxI5UDQd wy0oTkii69eKPUqtUtekDSZgIPd7JaMRjWS3Zq4G+til9g1fy51SdTWCbc6dIfdP8duF1OZpJka2E mnnhBkhzzDdHR0UnXVMO0KnZUWC7/2Nim5cmywahBQpHukufZM2ewAj1rHylk6WSs8VOZl2SRDTw5 vpV5RvefElorc7IvQLF4WrlpKDW5kFvT4WmFHxkv1bhhd1rEfg7Vys8qKyTwQ9ISCF0b/qTeoKYTY 3squki78aZgK+qXNUqVScsQuytkn292uNX11ffiuVVzQwai0UIOTmJBRGzTlLUppof6l1sKn8qMOb +8zwaUNvw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=[192.168.1.19]) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dKGFc-0005Hw-2N; Mon, 12 Jun 2017 03:42:48 +0000 To: David Airlie , dri-devel From: Randy Dunlap Subject: [PATCH] drm: panel: fix s6e3ha2.c build errors Message-ID: Date: Sun, 11 Jun 2017 20:42:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Language: en-US X-Mailman-Approved-At: Mon, 12 Jun 2017 06:59:24 +0000 Cc: Fengguang Wu , LKML , Hoegeun Kwon X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix build errors in panel-samsung-s6e3ha2.c driver build. The driver uses backlight interfaces so it should depend on BACKLIGHT_CLASS_DEVICE. drivers/built-in.o: In function `s6e3ha2_remove': panel-samsung-s6e3ha2.c:(.text+0xe49c2): undefined reference to `backlight_device_unregister' drivers/built-in.o: In function `s6e3ha2_probe': panel-samsung-s6e3ha2.c:(.text+0xe4dad): undefined reference to `backlight_device_register' panel-samsung-s6e3ha2.c:(.text+0xe4e33): undefined reference to `backlight_device_unregister' Reported-by: kbuild test robot Signed-off-by: Randy Dunlap Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Hoegeun Kwon --- drivers/gpu/drm/panel/Kconfig | 1 + 1 file changed, 1 insertion(+) --- lnx-412-rc5.orig/drivers/gpu/drm/panel/Kconfig +++ lnx-412-rc5/drivers/gpu/drm/panel/Kconfig @@ -66,6 +66,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA2 tristate "Samsung S6E3HA2 DSI video mode panel" depends on OF depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE select VIDEOMODE_HELPERS config DRM_PANEL_SAMSUNG_S6E8AA0