diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-10-30 06:59:42 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:58:57 -0500 |
commit | 0dddee7a7d42192267ebef0fe15be8b296b665c8 (patch) | |
tree | 538b25f2d091bbcadde8a5656c85026f2a4cc6ac /arch | |
parent | 7dde453d628687c0e991cfc55c9fd299a804aee6 (diff) |
dma: mv_xor: change the driver name to 'mv_xor'
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-dove/common.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-orion/common.c | 4 |
4 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c index 6a2c4dc413a8..f4ac5b06014b 100644 --- a/arch/arm/mach-dove/common.c +++ b/arch/arm/mach-dove/common.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/irq.h> | 33 | #include <linux/irq.h> |
34 | #include <plat/time.h> | 34 | #include <plat/time.h> |
35 | #include <linux/platform_data/usb-ehci-orion.h> | 35 | #include <linux/platform_data/usb-ehci-orion.h> |
36 | #include <linux/platform_data/dma-mv_xor.h> | ||
36 | #include <plat/irq.h> | 37 | #include <plat/irq.h> |
37 | #include <plat/common.h> | 38 | #include <plat/common.h> |
38 | #include <plat/addr-map.h> | 39 | #include <plat/addr-map.h> |
@@ -124,8 +125,8 @@ static void __init dove_clk_init(void) | |||
124 | orion_clkdev_add(NULL, "mv_crypto", crypto); | 125 | orion_clkdev_add(NULL, "mv_crypto", crypto); |
125 | orion_clkdev_add(NULL, "dove-ac97", ac97); | 126 | orion_clkdev_add(NULL, "dove-ac97", ac97); |
126 | orion_clkdev_add(NULL, "dove-pdma", pdma); | 127 | orion_clkdev_add(NULL, "dove-pdma", pdma); |
127 | orion_clkdev_add(NULL, "mv_xor_shared.0", xor0); | 128 | orion_clkdev_add(NULL, MV_XOR_NAME ".0", xor0); |
128 | orion_clkdev_add(NULL, "mv_xor_shared.1", xor1); | 129 | orion_clkdev_add(NULL, MV_XOR_NAME ".1", xor1); |
129 | } | 130 | } |
130 | 131 | ||
131 | /***************************************************************************** | 132 | /***************************************************************************** |
@@ -410,11 +411,11 @@ static void __init dove_legacy_clk_init(void) | |||
410 | of_clk_get_from_provider(&clkspec)); | 411 | of_clk_get_from_provider(&clkspec)); |
411 | 412 | ||
412 | clkspec.args[0] = CLOCK_GATING_BIT_XOR0; | 413 | clkspec.args[0] = CLOCK_GATING_BIT_XOR0; |
413 | orion_clkdev_add(NULL, "mv_xor_shared.0", | 414 | orion_clkdev_add(NULL, MV_XOR_NAME ".0", |
414 | of_clk_get_from_provider(&clkspec)); | 415 | of_clk_get_from_provider(&clkspec)); |
415 | 416 | ||
416 | clkspec.args[0] = CLOCK_GATING_BIT_XOR1; | 417 | clkspec.args[0] = CLOCK_GATING_BIT_XOR1; |
417 | orion_clkdev_add(NULL, "mv_xor_shared.1", | 418 | orion_clkdev_add(NULL, MV_XOR_NAME ".1", |
418 | of_clk_get_from_provider(&clkspec)); | 419 | of_clk_get_from_provider(&clkspec)); |
419 | } | 420 | } |
420 | 421 | ||
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 8bdfaa4db091..294ad5a4fd98 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
22 | #include <mach/bridge-regs.h> | 22 | #include <mach/bridge-regs.h> |
23 | #include <linux/platform_data/usb-ehci-orion.h> | 23 | #include <linux/platform_data/usb-ehci-orion.h> |
24 | #include <linux/platform_data/dma-mv_xor.h> | ||
24 | #include <plat/irq.h> | 25 | #include <plat/irq.h> |
25 | #include <plat/common.h> | 26 | #include <plat/common.h> |
26 | #include "common.h" | 27 | #include "common.h" |
@@ -60,11 +61,11 @@ static void __init kirkwood_legacy_clk_init(void) | |||
60 | of_clk_get_from_provider(&clkspec)); | 61 | of_clk_get_from_provider(&clkspec)); |
61 | 62 | ||
62 | clkspec.args[0] = CGC_BIT_XOR0; | 63 | clkspec.args[0] = CGC_BIT_XOR0; |
63 | orion_clkdev_add(NULL, "mv_xor_shared.0", | 64 | orion_clkdev_add(NULL, MV_XOR_NAME ".0", |
64 | of_clk_get_from_provider(&clkspec)); | 65 | of_clk_get_from_provider(&clkspec)); |
65 | 66 | ||
66 | clkspec.args[0] = CGC_BIT_XOR1; | 67 | clkspec.args[0] = CGC_BIT_XOR1; |
67 | orion_clkdev_add(NULL, "mv_xor_shared.1", | 68 | orion_clkdev_add(NULL, MV_XOR_NAME ".1", |
68 | of_clk_get_from_provider(&clkspec)); | 69 | of_clk_get_from_provider(&clkspec)); |
69 | 70 | ||
70 | clkspec.args[0] = CGC_BIT_PEX1; | 71 | clkspec.args[0] = CGC_BIT_PEX1; |
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index 2c6c218fb79e..401dac1a8d80 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -260,8 +260,8 @@ void __init kirkwood_clk_init(void) | |||
260 | orion_clkdev_add(NULL, "orion_nand", runit); | 260 | orion_clkdev_add(NULL, "orion_nand", runit); |
261 | orion_clkdev_add(NULL, "mvsdio", sdio); | 261 | orion_clkdev_add(NULL, "mvsdio", sdio); |
262 | orion_clkdev_add(NULL, "mv_crypto", crypto); | 262 | orion_clkdev_add(NULL, "mv_crypto", crypto); |
263 | orion_clkdev_add(NULL, MV_XOR_SHARED_NAME ".0", xor0); | 263 | orion_clkdev_add(NULL, MV_XOR_NAME ".0", xor0); |
264 | orion_clkdev_add(NULL, MV_XOR_SHARED_NAME ".1", xor1); | 264 | orion_clkdev_add(NULL, MV_XOR_NAME ".1", xor1); |
265 | orion_clkdev_add("0", "pcie", pex0); | 265 | orion_clkdev_add("0", "pcie", pex0); |
266 | orion_clkdev_add("1", "pcie", pex1); | 266 | orion_clkdev_add("1", "pcie", pex1); |
267 | orion_clkdev_add(NULL, "kirkwood-i2s", audio); | 267 | orion_clkdev_add(NULL, "kirkwood-i2s", audio); |
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c index edd57a68fa8c..31517cef8c4d 100644 --- a/arch/arm/plat-orion/common.c +++ b/arch/arm/plat-orion/common.c | |||
@@ -641,7 +641,7 @@ static struct mv_xor_platform_data orion_xor0_pdata = { | |||
641 | }; | 641 | }; |
642 | 642 | ||
643 | static struct platform_device orion_xor0_shared = { | 643 | static struct platform_device orion_xor0_shared = { |
644 | .name = MV_XOR_SHARED_NAME, | 644 | .name = MV_XOR_NAME, |
645 | .id = 0, | 645 | .id = 0, |
646 | .num_resources = ARRAY_SIZE(orion_xor0_shared_resources), | 646 | .num_resources = ARRAY_SIZE(orion_xor0_shared_resources), |
647 | .resource = orion_xor0_shared_resources, | 647 | .resource = orion_xor0_shared_resources, |
@@ -716,7 +716,7 @@ static struct mv_xor_platform_data orion_xor1_pdata = { | |||
716 | }; | 716 | }; |
717 | 717 | ||
718 | static struct platform_device orion_xor1_shared = { | 718 | static struct platform_device orion_xor1_shared = { |
719 | .name = MV_XOR_SHARED_NAME, | 719 | .name = MV_XOR_NAME, |
720 | .id = 1, | 720 | .id = 1, |
721 | .num_resources = ARRAY_SIZE(orion_xor1_shared_resources), | 721 | .num_resources = ARRAY_SIZE(orion_xor1_shared_resources), |
722 | .resource = orion_xor1_shared_resources, | 722 | .resource = orion_xor1_shared_resources, |