From patchwork Tue Mar 16 02:01:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 86067 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 o2G21nlS000765 for ; Tue, 16 Mar 2010 02:01:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965948Ab0CPCBq (ORCPT ); Mon, 15 Mar 2010 22:01:46 -0400 Received: from mail.renesas.com ([202.234.163.13]:45873 "EHLO mail06.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965940Ab0CPCBq (ORCPT ); Mon, 15 Mar 2010 22:01:46 -0400 X-AuditID: ac14038a-00000005000001f2-8f-4b9ee67d4ed0 Received: from guardian04.idc.renesas.com ([172.20.8.206]) by mail06.idc.renesas.com (sendmail) with ESMTP id o2G21X6F002554; Tue, 16 Mar 2010 11:01:33 +0900 (JST) Received: (from root@localhost) by guardian04.idc.renesas.com with id o2G21Yl7019444; Tue, 16 Mar 2010 11:01:34 +0900 (JST) Received: from mta04.idc.renesas.com (localhost [127.0.0.1]) by mta04.idc.renesas.com with ESMTP id o2G21WkT010599; Tue, 16 Mar 2010 11:01:32 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KZC0057LQYLVY@ims05.idc.renesas.com>; Tue, 16 Mar 2010 11:01:33 +0900 (JST) Date: Tue, 16 Mar 2010 11:01:33 +0900 From: Kuninori Morimoto Subject: [PATCH] sh: mach-ecovec24: Add i2c_put_adapter on sh_eth_init To: lethal@linux-sh.org Cc: linux-sh@vger.kernel.org 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.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.02-dev (RINDOU) (2009-06-17 Rev.4261) 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]); Tue, 16 Mar 2010 02:01:50 +0000 (UTC) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 39ed872..6c13b92 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -836,6 +836,8 @@ static void __init sh_eth_init(struct sh_eth_plat_data *pd) pd->mac_addr[i] = mac_read(a, 0x10 + i); msleep(10); } + + i2c_put_adapter(a); } #else static void __init sh_eth_init(struct sh_eth_plat_data *pd)