From patchwork Mon Feb 23 11:16:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Senna Tschudin X-Patchwork-Id: 5863961 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0FD0D9F169 for ; Mon, 23 Feb 2015 11:16:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 34BD520689 for ; Mon, 23 Feb 2015 11:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A87520688 for ; Mon, 23 Feb 2015 11:16:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752163AbbBWLQj (ORCPT ); Mon, 23 Feb 2015 06:16:39 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:54658 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbbBWLQi (ORCPT ); Mon, 23 Feb 2015 06:16:38 -0500 Received: by mail-wi0-f171.google.com with SMTP id hi2so15937290wib.4; Mon, 23 Feb 2015 03:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=X5sxMbo7K1gv5lEDQcePwQ1yd2wptvkuwziSd7JVxnY=; b=CFkfXiROMo/brEuegjHBP+5+JD56CtzILMx6QFIphSrqPZ3zyTEKzm1p5YYTvs2aN6 fIqRItcObrIOOhb1+PryiRZVvndQcDQhBu+ddXDSbgu3asdBEqNHeog/7HRGUNVfThQD xP87Am2AMNYqDNQfSRqQXpMIiSB3+arT7HjgqcDkqpmSaMvGpuLHqqwr1JBLWmBT6GEu 0uza9tznKkc9GEjX4GCNyUYFSxQuOX+ZaZtrD5sCaFA+04B8qa7c18B22miMozJYRVue TGbetnrq6DAgA3CU00p0AypN4/ygBrstGEMnwDMezc+4cCHtDDwuaKjMtIeCm6ab9U7/ Js2Q== X-Received: by 10.194.48.12 with SMTP id h12mr21729170wjn.74.1424690197306; Mon, 23 Feb 2015 03:16:37 -0800 (PST) Received: from toshiba-peter.localdomain.localdomain (29.119.90.92.rev.sfr.net. [92.90.119.29]) by mx.google.com with ESMTPSA id m4sm15410330wik.20.2015.02.23.03.16.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 03:16:36 -0800 (PST) From: Peter Senna Tschudin To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Peter Senna Tschudin Subject: [PATCH] staging/sm7xxfb: Make 'struct vgamode' static Date: Mon, 23 Feb 2015 12:16:16 +0100 Message-Id: <1424690176-7966-1-git-send-email-peter.senna@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 sparse was complaining that symbol 'vgamode' was not declared. Declaring vgamode as static. Signed-off-by: Peter Senna Tschudin --- Tested by compilation only drivers/staging/sm7xxfb/sm7xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h index 7cc1896..c5d6253 100644 --- a/drivers/staging/sm7xxfb/sm7xx.h +++ b/drivers/staging/sm7xxfb/sm7xx.h @@ -119,7 +119,7 @@ struct ModeInit { /********************************************************************** SM712 Mode table. **********************************************************************/ -struct ModeInit vgamode[] = { +static struct ModeInit vgamode[] = { { /* mode#0: 640 x 480 16Bpp 60Hz */ 640, 480, 16, 60,