Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933738AbYBMVjf (ORCPT ); Wed, 13 Feb 2008 16:39:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763569AbYBMVa3 (ORCPT ); Wed, 13 Feb 2008 16:30:29 -0500 Received: from smtp6.pp.htv.fi ([213.243.153.40]:55696 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763527AbYBMVa0 (ORCPT ); Wed, 13 Feb 2008 16:30:26 -0500 Date: Wed, 13 Feb 2008 23:30:10 +0200 From: Adrian Bunk To: Mart Raudsepp , David Woodhouse Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static Message-ID: <20080213213010.GX3383@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 24 This patch makes the needlessly global part_probes[] static. Signed-off-by: Adrian Bunk --- 054adb5b7a0d1ebaef61192ccf78df37aec42270 diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c index 8dab696..3370a80 100644 --- a/drivers/mtd/nand/cs553x_nand.c +++ b/drivers/mtd/nand/cs553x_nand.c @@ -279,7 +279,7 @@ static int is_geode(void) #ifdef CONFIG_MTD_PARTITIONS -const char *part_probes[] = { "cmdlinepart", NULL }; +static const char *part_probes[] = { "cmdlinepart", NULL }; #endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/