From patchwork Wed Jun 2 00:27:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 103680 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o520RTX4030921 for ; Wed, 2 Jun 2010 00:27:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756496Ab0FBA1s (ORCPT ); Tue, 1 Jun 2010 20:27:48 -0400 Received: from mail.renesas.com ([202.234.163.13]:44841 "EHLO mail04.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756443Ab0FBA1r (ORCPT ); Tue, 1 Jun 2010 20:27:47 -0400 X-AuditID: ac140387-0000000b00000202-9b-4c05a5827ad9 Received: from guardian05.idc.renesas.com ([172.20.8.207]) by mail04.idc.renesas.com (sendmail) with ESMTP id o520RkqJ014755; Wed, 2 Jun 2010 09:27:46 +0900 (JST) Received: (from root@localhost) by guardian05.idc.renesas.com with id o520RkGx002641; Wed, 2 Jun 2010 09:27:46 +0900 (JST) Received: from mta07.idc.renesas.com (localhost [127.0.0.1]) by mta07.idc.renesas.com with ESMTP id o520RjoG011869; Wed, 2 Jun 2010 09:27:45 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0L3D0065F2M64G@ims05.idc.renesas.com>; Wed, 02 Jun 2010 09:27:46 +0900 (JST) Date: Wed, 02 Jun 2010 09:27:46 +0900 (JST) Date-warning: Date header was inserted by ims05.idc.renesas.com From: Kuninori Morimoto Subject: [PATCH 3/4] sh: make sure static declaration on mach-migor To: Paul Mundt Cc: Linux-SH Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-2022-JP-2?B?U2Fuag==?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.6 Emacs/23.2 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 02 Jun 2010 00:27:48 +0000 (UTC) diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 87185de..662debe 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -181,7 +181,7 @@ static int migor_nand_flash_ready(struct mtd_info *mtd) return gpio_get_value(GPIO_PTA1); /* NAND_RBn */ } -struct platform_nand_data migor_nand_flash_data = { +static struct platform_nand_data migor_nand_flash_data = { .chip = { .nr_chips = 1, .partitions = migor_nand_flash_partitions,