From patchwork Tue Feb 10 12:08:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5806771 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2EC3DBF440 for ; Tue, 10 Feb 2015 12:08:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 469492011E for ; Tue, 10 Feb 2015 12:08:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DBC120115 for ; Tue, 10 Feb 2015 12:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751788AbbBJMIu (ORCPT ); Tue, 10 Feb 2015 07:08:50 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:52274 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751543AbbBJMIt (ORCPT ); Tue, 10 Feb 2015 07:08:49 -0500 Received: by mail-pa0-f41.google.com with SMTP id kx10so16645356pab.0; Tue, 10 Feb 2015 04:08:49 -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=+5h9fT0Urlhq1XSEkseVfpvbOQNCNZ74StPQdyEobsw=; b=YQ5Y6j1rUA8SO6jCiaVgLKtdPMqMrqfJjnrxmb8FAp3XfSQ1WiU97km/HyCazZsdyC NeGAZm8MoeFoIICEvL0EwXh6njuoI0uOcEJqn4au9xUGpnZHgb2fsgnK/RKkxtIhBZK6 LtcVbCJv+MxtCwRLWigLprf9bAESXE1vee/Pgqzc8yfgDk6AdrDmSJND+YldJKXLcMAz Vrw0Y+Ghwjk3W9KvcgRp4nNimwWOvzuq7a0NKK1/N6MbGB2YED+H8AyHpb8jM/RWNg4Q lKl0bw06c5aIewdRInuxqHWAJprzDHkeutHrYT7yaC6SN2oqpV6dfkcXgFOvUljqttPv lViQ== X-Received: by 10.66.221.166 with SMTP id qf6mr36370757pac.97.1423570129291; Tue, 10 Feb 2015 04:08:49 -0800 (PST) Received: from localhost.localdomain ([122.169.135.72]) by mx.google.com with ESMTPSA id f12sm19367990pat.43.2015.02.10.04.08.46 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Feb 2015 04:08:48 -0800 (PST) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: Sudip Mukherjee , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: sm7xxfb: make vgamode static Date: Tue, 10 Feb 2015 17:38:40 +0530 Message-Id: <1423570120-9041-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 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 the variable vgamode is used only in this file and hence can be safely made as static. Signed-off-by: Sudip Mukherjee --- 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,