From patchwork Sat Jun 8 21:23:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2693081 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E95633FC8C for ; Sat, 8 Jun 2013 21:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896Ab3FHVXR (ORCPT ); Sat, 8 Jun 2013 17:23:17 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:45227 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752879Ab3FHVXR (ORCPT ); Sat, 8 Jun 2013 17:23:17 -0400 Received: by mail-la0-f42.google.com with SMTP id eb20so4684259lab.29 for ; Sat, 08 Jun 2013 14:23:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=to:subject:from:organization:cc:date:mime-version:content-type :content-transfer-encoding:message-id:x-gm-message-state; bh=SlOVW6y2OqdNK9Yk1DS1ZRm28IsBSHwzWGWd2VFJRes=; b=mIlVFrVrku8TWj9EZPHUBk+4T5NCSIL5EAbmdpNDIMadC88feMQrVCnWI93DVRELMD qB92j46s4mfGeHswJY4toy0nplqFRaYAg2BHliFw0b4LQW/JfM3R7sdpmQtxpQKb1NOH yjYSY+kipm+7hMWFUS1Y4FLwY3jTXo61ieU0ZlBNOHxlrpFdQQbn9LrKyVORPAGRYMSN ynspwBxdm5Aqpoq/Mz6zaGtDRmCQUiPekX1lGKgWmmkmc0LPQeDLmNjZn816ZVMh6q3/ 4iKYvjtEtIJNbM9TPvAhyyfw3AKCyepVgZ6/n1/kiGwviSfoZYcW9DzWom/lOiE9WWlx N99w== X-Received: by 10.152.7.39 with SMTP id g7mr1918165laa.72.1370726595223; Sat, 08 Jun 2013 14:23:15 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (mail.dev.rtsoft.ru. [213.79.90.226]) by mx.google.com with ESMTPSA id a3sm3122292lbg.2.2013.06.08.14.23.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 08 Jun 2013 14:23:14 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org Subject: [PATCH v2 1/2] ARM: shmobile: r8a7778: fix Ether device name From: Sergei Shtylyov Organization: Cogent Embedded Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Date: Sun, 9 Jun 2013 01:23:24 +0400 MIME-Version: 1.0 Message-Id: <201306090123.24709.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQn1IZPhxXiCZQOL+QItveVvbWGAtA+L4KAU+/FlzGkDzF1XDAQ/QQGQl+diT3Rfz07H5OU0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org While recasting commit 524219146a89aee5366326c225ccd71231419d89 (ARM: shmobile: R8A7778: add Ether support), I made a typo in the platform device's name: used underscore instead of hyphen. However, there's now patch merged to net-next.git renaming the platform device from "sh-eth" to "r8a777x-ehter", so it makes the most sense to change the name straight to that one. Signed-off-by: Sergei Shtylyov --- The patch is atop of the 'renesas-next-20130607' tag of the 'renesas.git' tree and the USB patches I have submitted earlier. Changes in version 2: - changed the platform device's name as in the patch merged to 'net-next.git'; - lowercased the SoC name in the subject. arch/arm/mach-shmobile/setup-r8a7778.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/mach-shmobile/setup-r8a7778.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/setup-r8a7778.c +++ renesas/arch/arm/mach-shmobile/setup-r8a7778.c @@ -196,7 +196,7 @@ static struct resource ether_resources[] void __init r8a7778_add_ether_device(struct sh_eth_plat_data *pdata) { - platform_device_register_resndata(&platform_bus, "sh_eth", -1, + platform_device_register_resndata(&platform_bus, "r8a777x-ether", -1, ether_resources, ARRAY_SIZE(ether_resources), pdata, sizeof(*pdata));