From patchwork Sun Feb 12 14:57:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 9568395 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 B12BB601E7 for ; Sun, 12 Feb 2017 14:57:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F699283AC for ; Sun, 12 Feb 2017 14:57:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9302A283C2; Sun, 12 Feb 2017 14:57:48 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB16F283AC for ; Sun, 12 Feb 2017 14:57:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751261AbdBLO5r (ORCPT ); Sun, 12 Feb 2017 09:57:47 -0500 Received: from mail.skyhub.de ([78.46.96.112]:43508 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdBLO5q (ORCPT ); Sun, 12 Feb 2017 09:57:46 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id quylOQfoIzEd; Sun, 12 Feb 2017 15:57:44 +0100 (CET) Received: from pd.tnic (p2003008C2F4DE200B972530974CFDCA0.dip0.t-ipconnect.de [IPv6:2003:8c:2f4d:e200:b972:5309:74cf:dca0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id AD4FA1DA2BB; Sun, 12 Feb 2017 15:57:44 +0100 (CET) Received: by pd.tnic (Postfix, from userid 1000) id BCE0C1609A1; Sun, 12 Feb 2017 15:57:31 +0100 (CET) From: Borislav Petkov To: linux-fbdev@vger.kernel.org Cc: LKML Subject: [PATCH] video/viafbdev: Make PROC_FS dependency explicit Date: Sun, 12 Feb 2017 15:57:31 +0100 Message-Id: <20170212145731.7068-1-bp@alien8.de> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borislav Petkov Fix: drivers/video/fbdev/via/viafbdev.c: In function ‘viafb_remove_proc’: drivers/video/fbdev/via/viafbdev.c:1635:4: warning: unused variable ‘iga2_entry’ [-Wunused-variable] *iga2_entry = shared->iga2_proc_entry; ^~~~~~~~~~ drivers/video/fbdev/via/viafbdev.c:1634:4: warning: unused variable ‘iga1_entry’ [-Wunused-variable] *iga1_entry = shared->iga1_proc_entry, build warning from randconfig builds. Signed-off-by: Borislav Petkov --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 5d3b0db5ce0a..86ec39784c5a 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -1539,7 +1539,7 @@ config FB_SIS_315 config FB_VIA tristate "VIA UniChrome (Pro) and Chrome9 display support" - depends on FB && PCI && X86 && GPIOLIB && I2C + depends on FB && PCI && X86 && GPIOLIB && I2C && PROC_FS select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT