From patchwork Wed Jun 2 00:25:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 103674 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 o520P9YP030176 for ; Wed, 2 Jun 2010 00:25:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754321Ab0FBAZH (ORCPT ); Tue, 1 Jun 2010 20:25:07 -0400 Received: from mail.renesas.com ([202.234.163.13]:58466 "EHLO mail06.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753641Ab0FBAZF (ORCPT ); Tue, 1 Jun 2010 20:25:05 -0400 X-AuditID: ac14038a-00000009000001f2-78-4c05a4df0f2f Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail06.idc.renesas.com (sendmail) with ESMTP id o520P3S8010248; Wed, 2 Jun 2010 09:25:03 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id o520P4n6004181; Wed, 2 Jun 2010 09:25:04 +0900 (JST) Received: from mta07.idc.renesas.com (localhost [127.0.0.1]) by mta07.idc.renesas.com with ESMTP id o520P2ON010288; Wed, 2 Jun 2010 09:25:02 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0L3D006UG2HR4G@ims05.idc.renesas.com>; Wed, 02 Jun 2010 09:25:03 +0900 (JST) Date: Wed, 02 Jun 2010 09:25:03 +0900 (JST) Date-warning: Date header was inserted by ims05.idc.renesas.com From: Kuninori Morimoto Subject: [PATCH 1/3] ARM: mach-shmobile: make sure static declaration on ap4evb In-reply-to: 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) References: 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:25:10 +0000 (UTC) diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index bdc4c6b..8f42dbe 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -277,7 +277,7 @@ static struct resource sh_mmcif_resources[] = { }, }; -struct sh_mmcif_plat_data sh_mmcif_plat = { +static struct sh_mmcif_plat_data sh_mmcif_plat = { .sup_pclk = 0, .ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, .caps = MMC_CAP_4_BIT_DATA | @@ -357,7 +357,7 @@ static struct platform_device sdhi1_device = { }; /* USB1 */ -void usb1_host_port_power(int port, int power) +static void usb1_host_port_power(int port, int power) { if (!power) /* only power-on supported for now */ return; @@ -492,7 +492,7 @@ static struct clk fsiackcr_clk = { .rate = 0, /* unknown */ }; -struct sh_fsi_platform_info fsi_info = { +static struct sh_fsi_platform_info fsi_info = { .porta_flags = SH_FSI_BRS_INV | SH_FSI_OUT_SLAVE_MODE | SH_FSI_IN_SLAVE_MODE | @@ -538,7 +538,7 @@ static struct platform_device *ap4evb_devices[] __initdata = { /* TouchScreen (Needs SW3 set to OFF) */ #define IRQ28 evt2irq(0x3380) /* IRQ28A */ -struct tsc2007_platform_data tsc2007_info = { +static struct tsc2007_platform_data tsc2007_info = { .model = 2007, .x_plate_ohms = 180, };