From patchwork Fri Jun 11 15:51:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 105619 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 o5BFqvkX023918 for ; Fri, 11 Jun 2010 15:52:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758327Ab0FKPw4 (ORCPT ); Fri, 11 Jun 2010 11:52:56 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]:41041 "EHLO mail-ww0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758121Ab0FKPwz (ORCPT ); Fri, 11 Jun 2010 11:52:55 -0400 Received: by mail-ww0-f46.google.com with SMTP id 18so872602wwb.19 for ; Fri, 11 Jun 2010 08:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=vN1kRHzpz2xwcoBKYGyIxk/XSVNYsn6u4jHf3Vpr8xE=; b=pu2WxkYfosC573aUcUzuD6cJysFMtuCjLw6IODuOwmeg7o8UKLE2+uX8P4E5mFxdqJ 8g2LtMuug048UP5VUibvkiCGki7uPXM3S5Oi9VbpPAUGYdnjtHopF2DfeENllKj95Pv7 mvtSqgq6sYOZYKyLdDP5DDaubMEwZS8te2ScQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=gRXbo1vDcAF6DWYFWjLm4KITSaub3+i+CsgkE3ET6E0WBGKbcCW6Dmr9XKCRogjv69 /JxS9R954rE7Xtxl1n0z6r4xvWV3NK0lQlgsTFaeuUunbosuGBalnfZJYVyBZPPR+UMf VqLLrGnjY7hABx4PoKeGexw+T5mFxW1Lue1Fo= Received: by 10.216.160.66 with SMTP id t44mr1148749wek.75.1276271570683; Fri, 11 Jun 2010 08:52:50 -0700 (PDT) Received: from localhost ([192.100.124.156]) by mx.google.com with ESMTPS id d37sm607835wej.42.2010.06.11.08.52.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 08:52:50 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: linux-arm , Hiroshi Doyu , Tony Lindgren , Russell King , Felipe Contreras Subject: [PATCH v4 13/14] omap: mailbox: standarize on 'omap-mailbox' Date: Fri, 11 Jun 2010 18:51:48 +0300 Message-Id: <1276271509-11983-14-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1276271509-11983-1-git-send-email-felipe.contreras@gmail.com> References: <1276271509-11983-1-git-send-email-felipe.contreras@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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]); Fri, 11 Jun 2010 15:52:57 +0000 (UTC) diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 314fea3..16e43e5 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c @@ -87,7 +87,7 @@ static struct resource mbox_resources[] = { }; static struct platform_device mbox_device = { - .name = "omap1-mailbox", + .name = "omap-mailbox", .id = -1, .num_resources = ARRAY_SIZE(mbox_resources), .resource = mbox_resources, diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c index 9ca0d58..afc3963 100644 --- a/arch/arm/mach-omap1/mailbox.c +++ b/arch/arm/mach-omap1/mailbox.c @@ -1,5 +1,5 @@ /* - * Mailbox reservation modules for DSP + * Mailbox reservation modules for OMAP1 * * Copyright (C) 2006-2009 Nokia Corporation * Written by: Hiroshi DOYU @@ -179,7 +179,7 @@ static struct platform_driver omap1_mbox_driver = { .probe = omap1_mbox_probe, .remove = __devexit_p(omap1_mbox_remove), .driver = { - .name = "omap1-mailbox", + .name = "omap-mailbox", }, }; diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index b621476..d9ac853 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -206,7 +206,7 @@ static int omap4_mbox_resources_sz = ARRAY_SIZE(omap4_mbox_resources); #endif static struct platform_device mbox_device = { - .name = "omap2-mailbox", + .name = "omap-mailbox", .id = -1, }; diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 4c0c112..62d5ffe 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -18,8 +18,6 @@ #include #include -#define DRV_NAME "omap2-mailbox" - #define MAILBOX_REVISION 0x000 #define MAILBOX_SYSCONFIG 0x010 #define MAILBOX_SYSSTATUS 0x014 @@ -451,7 +449,7 @@ static struct platform_driver omap2_mbox_driver = { .probe = omap2_mbox_probe, .remove = __devexit_p(omap2_mbox_remove), .driver = { - .name = DRV_NAME, + .name = "omap-mailbox", }, }; @@ -472,4 +470,4 @@ MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("omap mailbox: omap2/3/4 architecture specific functions"); MODULE_AUTHOR("Hiroshi DOYU "); MODULE_AUTHOR("Paul Mundt"); -MODULE_ALIAS("platform:"DRV_NAME); +MODULE_ALIAS("platform:omap2-mailbox");