]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap1/mailbox.c
REMOVE OMAP LEGACY CODE: Reset clocks and PM code to mainline
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap1 / mailbox.c
index 87539db7658b348c8edcb0bbcf5eb7a1d8fe6068..0af4d6c85b4763cad50a8af100b1a0045f47c90d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Mailbox reservation modules for DSP
  *
- * Copyright (C) 2006-2008 Nokia Corporation
+ * Copyright (C) 2006-2009 Nokia Corporation
  * Written by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
  *
  * This file is subject to the terms and conditions of the GNU General Public
@@ -17,8 +17,6 @@
 #include <mach/mailbox.h>
 #include <mach/irqs.h>
 
-#define DRV_NAME "omap1-mailbox"
-
 #define MAILBOX_ARM2DSP1               0x00
 #define MAILBOX_ARM2DSP1b              0x04
 #define MAILBOX_DSP2ARM1               0x08
@@ -186,7 +184,7 @@ static struct platform_driver omap1_mbox_driver = {
        .probe  = omap1_mbox_probe,
        .remove = __devexit_p(omap1_mbox_remove),
        .driver = {
-               .name   = DRV_NAME,
+               .name   = "omap1-mailbox",
        },
 };
 
@@ -206,4 +204,4 @@ module_exit(omap1_mbox_exit);
 MODULE_LICENSE("GPL v2");
 MODULE_DESCRIPTION("omap mailbox: omap1 architecture specific functions");
 MODULE_AUTHOR("Hiroshi DOYU" <Hiroshi.DOYU@nokia.com>);
-MODULE_ALIAS("platform:"DRV_NAME);
+MODULE_ALIAS("platform:omap1-mailbox");