]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dma: mv_xor: change the driver name to 'mv_xor'
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Oct 2012 10:59:42 +0000 (11:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:57 +0000 (15:58 +0100)
Since we got rid of the per-XOR channel 'mv_xor' driver, now the
per-XOR engine driver that used to be called 'mv_xor_shared' can
simply be named 'mv_xor'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/mach-dove/common.c
arch/arm/mach-kirkwood/board-dt.c
arch/arm/mach-kirkwood/common.c
arch/arm/plat-orion/common.c
drivers/dma/mv_xor.c
include/linux/platform_data/dma-mv_xor.h

index 6a2c4dc413a83fa5f8e932b7ef55f690546f2d8e..f4ac5b06014b4d18c6a66b411378e8998a031759 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/irq.h>
 #include <plat/time.h>
 #include <linux/platform_data/usb-ehci-orion.h>
+#include <linux/platform_data/dma-mv_xor.h>
 #include <plat/irq.h>
 #include <plat/common.h>
 #include <plat/addr-map.h>
@@ -124,8 +125,8 @@ static void __init dove_clk_init(void)
        orion_clkdev_add(NULL, "mv_crypto", crypto);
        orion_clkdev_add(NULL, "dove-ac97", ac97);
        orion_clkdev_add(NULL, "dove-pdma", pdma);
-       orion_clkdev_add(NULL, "mv_xor_shared.0", xor0);
-       orion_clkdev_add(NULL, "mv_xor_shared.1", xor1);
+       orion_clkdev_add(NULL, MV_XOR_NAME ".0", xor0);
+       orion_clkdev_add(NULL, MV_XOR_NAME ".1", xor1);
 }
 
 /*****************************************************************************
@@ -410,11 +411,11 @@ static void __init dove_legacy_clk_init(void)
                         of_clk_get_from_provider(&clkspec));
 
        clkspec.args[0] = CLOCK_GATING_BIT_XOR0;
-       orion_clkdev_add(NULL, "mv_xor_shared.0",
+       orion_clkdev_add(NULL, MV_XOR_NAME ".0",
                         of_clk_get_from_provider(&clkspec));
 
        clkspec.args[0] = CLOCK_GATING_BIT_XOR1;
-       orion_clkdev_add(NULL, "mv_xor_shared.1",
+       orion_clkdev_add(NULL, MV_XOR_NAME ".1",
                         of_clk_get_from_provider(&clkspec));
 }
 
index 8bdfaa4db09126c1c871e10f4f0169d76b4ed55e..294ad5a4fd984604a1f608a2d6e9da0e07003564 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/mach/map.h>
 #include <mach/bridge-regs.h>
 #include <linux/platform_data/usb-ehci-orion.h>
+#include <linux/platform_data/dma-mv_xor.h>
 #include <plat/irq.h>
 #include <plat/common.h>
 #include "common.h"
@@ -60,11 +61,11 @@ static void __init kirkwood_legacy_clk_init(void)
                         of_clk_get_from_provider(&clkspec));
 
        clkspec.args[0] = CGC_BIT_XOR0;
-       orion_clkdev_add(NULL, "mv_xor_shared.0",
+       orion_clkdev_add(NULL, MV_XOR_NAME ".0",
                         of_clk_get_from_provider(&clkspec));
 
        clkspec.args[0] = CGC_BIT_XOR1;
-       orion_clkdev_add(NULL, "mv_xor_shared.1",
+       orion_clkdev_add(NULL, MV_XOR_NAME ".1",
                         of_clk_get_from_provider(&clkspec));
 
        clkspec.args[0] = CGC_BIT_PEX1;
index 2c6c218fb79e217cf607da9ad510ac7dece3222f..401dac1a8d80ec25bbbb40f64236a5aa15d281d4 100644 (file)
@@ -260,8 +260,8 @@ void __init kirkwood_clk_init(void)
        orion_clkdev_add(NULL, "orion_nand", runit);
        orion_clkdev_add(NULL, "mvsdio", sdio);
        orion_clkdev_add(NULL, "mv_crypto", crypto);
-       orion_clkdev_add(NULL, MV_XOR_SHARED_NAME ".0", xor0);
-       orion_clkdev_add(NULL, MV_XOR_SHARED_NAME ".1", xor1);
+       orion_clkdev_add(NULL, MV_XOR_NAME ".0", xor0);
+       orion_clkdev_add(NULL, MV_XOR_NAME ".1", xor1);
        orion_clkdev_add("0", "pcie", pex0);
        orion_clkdev_add("1", "pcie", pex1);
        orion_clkdev_add(NULL, "kirkwood-i2s", audio);
index edd57a68fa8c4467ccc2ab11aebef9c12df88ad9..31517cef8c4dee9e95e0ab910154b42db0fde0a4 100644 (file)
@@ -641,7 +641,7 @@ static struct mv_xor_platform_data orion_xor0_pdata = {
 };
 
 static struct platform_device orion_xor0_shared = {
-       .name           = MV_XOR_SHARED_NAME,
+       .name           = MV_XOR_NAME,
        .id             = 0,
        .num_resources  = ARRAY_SIZE(orion_xor0_shared_resources),
        .resource       = orion_xor0_shared_resources,
@@ -716,7 +716,7 @@ static struct mv_xor_platform_data orion_xor1_pdata = {
 };
 
 static struct platform_device orion_xor1_shared = {
-       .name           = MV_XOR_SHARED_NAME,
+       .name           = MV_XOR_NAME,
        .id             = 1,
        .num_resources  = ARRAY_SIZE(orion_xor1_shared_resources),
        .resource       = orion_xor1_shared_resources,
index ac598168b21f8d08eed6e624fb665101d58bd1dd..0ed5183eb5a36d54c0f565fb49245fffd694d85b 100644 (file)
@@ -1361,7 +1361,7 @@ static struct platform_driver mv_xor_shared_driver = {
        .remove         = mv_xor_shared_remove,
        .driver         = {
                .owner  = THIS_MODULE,
-               .name   = MV_XOR_SHARED_NAME,
+               .name   = MV_XOR_NAME,
        },
 };
 
index 82a5f4b84afe6dec6948340f7056bdeda9d63148..367bb216c4a7746115b6512346d779bf339fafd6 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/dmaengine.h>
 #include <linux/mbus.h>
 
-#define MV_XOR_SHARED_NAME     "mv_xor_shared"
+#define MV_XOR_NAME    "mv_xor"
 
 struct mv_xor_channel_data {
        int                             hw_id;