From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261401AbVD3UKM (ORCPT ); Sat, 30 Apr 2005 16:10:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261397AbVD3UJW (ORCPT ); Sat, 30 Apr 2005 16:09:22 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:7951 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261401AbVD3UIP (ORCPT ); Sat, 30 Apr 2005 16:08:15 -0400 Date: Sat, 30 Apr 2005 22:08:14 +0200 From: Adrian Bunk To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] drivers/char/rio/rio_linux.c: make a variable static Message-ID: <20050430200814.GQ3571@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk --- This patch was already sent on: - 17 Apr 2005 --- linux-2.6.12-rc2-mm3-full/drivers/char/rio/rio_linux.c.old 2005-04-17 18:18:39.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/char/rio/rio_linux.c 2005-04-17 18:18:47.000000000 +0200 @@ -221,7 +221,7 @@ /* Set the mask to all-ones. This alas, only supports 32 interrupts. Some architectures may need more. -- Changed to LONG to support up to 64 bits on 64bit architectures. -- REW 20/06/99 */ -long rio_irqmask = -1; +static long rio_irqmask = -1; MODULE_AUTHOR("Rogier Wolff , Patrick van de Lageweg "); MODULE_DESCRIPTION("RIO driver");