Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat

This patch performs the equivalent include directory shuffle for
plat-orion, and fixes up all users.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

authored by

Lennert Buytenhek and committed by
Lennert Buytenhek
6f088f1d a09e64fb

+57 -55
+4 -4
arch/arm/mach-kirkwood/common.c
··· 20 20 #include <asm/mach/map.h> 21 21 #include <asm/mach/time.h> 22 22 #include <mach/kirkwood.h> 23 - #include <asm/plat-orion/cache-feroceon-l2.h> 24 - #include <asm/plat-orion/ehci-orion.h> 25 - #include <asm/plat-orion/orion_nand.h> 26 - #include <asm/plat-orion/time.h> 23 + #include <plat/cache-feroceon-l2.h> 24 + #include <plat/ehci-orion.h> 25 + #include <plat/orion_nand.h> 26 + #include <plat/time.h> 27 27 #include "common.h" 28 28 29 29 /*****************************************************************************
+1 -1
arch/arm/mach-kirkwood/irq.c
··· 12 12 #include <linux/init.h> 13 13 #include <linux/irq.h> 14 14 #include <linux/io.h> 15 - #include <asm/plat-orion/irq.h> 15 + #include <plat/irq.h> 16 16 #include "common.h" 17 17 18 18 void __init kirkwood_init_irq(void)
+1 -1
arch/arm/mach-kirkwood/pcie.c
··· 12 12 #include <linux/pci.h> 13 13 #include <linux/mbus.h> 14 14 #include <asm/mach/pci.h> 15 - #include <asm/plat-orion/pcie.h> 15 + #include <plat/pcie.h> 16 16 #include "common.h" 17 17 18 18
+1 -1
arch/arm/mach-kirkwood/rd88f6281-setup.c
··· 23 23 #include <asm/mach/arch.h> 24 24 #include <asm/mach/pci.h> 25 25 #include <mach/kirkwood.h> 26 - #include <asm/plat-orion/orion_nand.h> 26 + #include <plat/orion_nand.h> 27 27 #include "common.h" 28 28 29 29 static struct mtd_partition rd88f6281_nand_parts[] = {
+2 -2
arch/arm/mach-loki/common.c
··· 19 19 #include <asm/mach/map.h> 20 20 #include <asm/mach/time.h> 21 21 #include <mach/loki.h> 22 - #include <asm/plat-orion/orion_nand.h> 23 - #include <asm/plat-orion/time.h> 22 + #include <plat/orion_nand.h> 23 + #include <plat/time.h> 24 24 #include "common.h" 25 25 26 26 /*****************************************************************************
+1 -1
arch/arm/mach-loki/irq.c
··· 12 12 #include <linux/init.h> 13 13 #include <linux/irq.h> 14 14 #include <asm/io.h> 15 - #include <asm/plat-orion/irq.h> 15 + #include <plat/irq.h> 16 16 #include "common.h" 17 17 18 18 void __init loki_init_irq(void)
+4 -4
arch/arm/mach-mv78xx0/common.c
··· 18 18 #include <asm/mach/map.h> 19 19 #include <asm/mach/time.h> 20 20 #include <mach/mv78xx0.h> 21 - #include <asm/plat-orion/cache-feroceon-l2.h> 22 - #include <asm/plat-orion/ehci-orion.h> 23 - #include <asm/plat-orion/orion_nand.h> 24 - #include <asm/plat-orion/time.h> 21 + #include <plat/cache-feroceon-l2.h> 22 + #include <plat/ehci-orion.h> 23 + #include <plat/orion_nand.h> 24 + #include <plat/time.h> 25 25 #include "common.h" 26 26 27 27
+1 -1
arch/arm/mach-mv78xx0/irq.c
··· 12 12 #include <linux/init.h> 13 13 #include <linux/pci.h> 14 14 #include <mach/mv78xx0.h> 15 - #include <asm/plat-orion/irq.h> 15 + #include <plat/irq.h> 16 16 #include "common.h" 17 17 18 18 void __init mv78xx0_init_irq(void)
+1 -1
arch/arm/mach-mv78xx0/pcie.c
··· 12 12 #include <linux/pci.h> 13 13 #include <linux/mbus.h> 14 14 #include <asm/mach/pci.h> 15 - #include <asm/plat-orion/pcie.h> 15 + #include <plat/pcie.h> 16 16 #include "common.h" 17 17 18 18 struct pcie_port {
+3 -3
arch/arm/mach-orion5x/common.c
··· 26 26 #include <asm/mach/time.h> 27 27 #include <mach/hardware.h> 28 28 #include <mach/orion5x.h> 29 - #include <asm/plat-orion/ehci-orion.h> 30 - #include <asm/plat-orion/orion_nand.h> 31 - #include <asm/plat-orion/time.h> 29 + #include <plat/ehci-orion.h> 30 + #include <plat/orion_nand.h> 31 + #include <plat/time.h> 32 32 #include "common.h" 33 33 34 34 /*****************************************************************************
+1 -1
arch/arm/mach-orion5x/db88f5281-setup.c
··· 25 25 #include <asm/mach/arch.h> 26 26 #include <asm/mach/pci.h> 27 27 #include <mach/orion5x.h> 28 - #include <asm/plat-orion/orion_nand.h> 28 + #include <plat/orion_nand.h> 29 29 #include "common.h" 30 30 #include "mpp.h" 31 31
+1 -1
arch/arm/mach-orion5x/irq.c
··· 16 16 #include <asm/gpio.h> 17 17 #include <asm/io.h> 18 18 #include <mach/orion5x.h> 19 - #include <asm/plat-orion/irq.h> 19 + #include <plat/irq.h> 20 20 #include "common.h" 21 21 22 22 /*****************************************************************************
+1 -1
arch/arm/mach-orion5x/kurobox_pro-setup.c
··· 25 25 #include <asm/mach/arch.h> 26 26 #include <asm/mach/pci.h> 27 27 #include <mach/orion5x.h> 28 - #include <asm/plat-orion/orion_nand.h> 28 + #include <plat/orion_nand.h> 29 29 #include "common.h" 30 30 #include "mpp.h" 31 31
+1 -1
arch/arm/mach-orion5x/pci.c
··· 14 14 #include <linux/pci.h> 15 15 #include <linux/mbus.h> 16 16 #include <asm/mach/pci.h> 17 - #include <asm/plat-orion/pcie.h> 17 + #include <plat/pcie.h> 18 18 #include "common.h" 19 19 20 20 /*****************************************************************************
+1 -1
arch/arm/mm/cache-feroceon-l2.c
··· 14 14 15 15 #include <linux/init.h> 16 16 #include <asm/cacheflush.h> 17 - #include <asm/plat-orion/cache-feroceon-l2.h> 17 + #include <plat/cache-feroceon-l2.h> 18 18 19 19 20 20 /*
+1 -1
arch/arm/plat-orion/irq.c
··· 12 12 #include <linux/init.h> 13 13 #include <linux/irq.h> 14 14 #include <linux/io.h> 15 - #include <asm/plat-orion/irq.h> 15 + #include <plat/irq.h> 16 16 17 17 static void orion_irq_mask(u32 irq) 18 18 {
+1 -1
arch/arm/plat-orion/pcie.c
··· 12 12 #include <linux/pci.h> 13 13 #include <linux/mbus.h> 14 14 #include <asm/mach/pci.h> 15 - #include <asm/plat-orion/pcie.h> 15 + #include <plat/pcie.h> 16 16 17 17 /* 18 18 * PCIe unit register offsets.
+1 -1
drivers/dma/mv_xor.c
··· 25 25 #include <linux/interrupt.h> 26 26 #include <linux/platform_device.h> 27 27 #include <linux/memory.h> 28 - #include <asm/plat-orion/mv_xor.h> 28 + #include <plat/mv_xor.h> 29 29 #include "mv_xor.h" 30 30 31 31 static void mv_xor_issue_pending(struct dma_chan *chan);
+1 -1
drivers/mtd/nand/orion_nand.c
··· 19 19 #include <asm/io.h> 20 20 #include <asm/sizes.h> 21 21 #include <mach/hardware.h> 22 - #include <asm/plat-orion/orion_nand.h> 22 + #include <plat/orion_nand.h> 23 23 24 24 #ifdef CONFIG_MTD_CMDLINE_PARTS 25 25 static const char *part_probes[] = { "cmdlinepart", NULL };
+1 -1
drivers/usb/host/ehci-orion.c
··· 12 12 #include <linux/module.h> 13 13 #include <linux/platform_device.h> 14 14 #include <linux/mbus.h> 15 - #include <asm/plat-orion/ehci-orion.h> 15 + #include <plat/ehci-orion.h> 16 16 17 17 #define rdl(off) __raw_readl(hcd->regs + (off)) 18 18 #define wrl(off, val) __raw_writel((val), hcd->regs + (off))
+1 -1
include/asm-arm/plat-orion/cache-feroceon-l2.h arch/arm/plat-orion/include/plat/cache-feroceon-l2.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/cache-feroceon-l2.h 2 + * arch/arm/plat-orion/include/plat/cache-feroceon-l2.h 3 3 * 4 4 * Copyright (C) 2008 Marvell Semiconductor 5 5 *
+6 -8
include/asm-arm/plat-orion/ehci-orion.h arch/arm/plat-orion/include/plat/time.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/ehci-orion.h 2 + * arch/arm/plat-orion/include/plat/time.h 3 + * 4 + * Marvell Orion SoC time handling. 3 5 * 4 6 * This file is licensed under the terms of the GNU General Public 5 7 * License version 2. This program is licensed "as is" without any 6 8 * warranty of any kind, whether express or implied. 7 9 */ 8 10 9 - #ifndef __ASM_PLAT_ORION_EHCI_ORION_H 10 - #define __ASM_PLAT_ORION_EHCI_ORION_H 11 + #ifndef __PLAT_TIME_H 12 + #define __PLAT_TIME_H 11 13 12 - #include <linux/mbus.h> 13 - 14 - struct orion_ehci_data { 15 - struct mbus_dram_target_info *dram; 16 - }; 14 + void orion_time_init(unsigned int irq, unsigned int tclk); 17 15 18 16 19 17 #endif
+3 -3
include/asm-arm/plat-orion/irq.h arch/arm/plat-orion/include/plat/irq.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/irq.h 2 + * arch/arm/plat-orion/include/plat/irq.h 3 3 * 4 4 * Marvell Orion SoC IRQ handling. 5 5 * ··· 8 8 * warranty of any kind, whether express or implied. 9 9 */ 10 10 11 - #ifndef __ASM_PLAT_ORION_IRQ_H 12 - #define __ASM_PLAT_ORION_IRQ_H 11 + #ifndef __PLAT_IRQ_H 12 + #define __PLAT_IRQ_H 13 13 14 14 void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr); 15 15
+4 -2
include/asm-arm/plat-orion/mv_xor.h arch/arm/plat-orion/include/plat/mv_xor.h
··· 1 1 /* 2 + * arch/arm/plat-orion/include/plat/mv_xor.h 3 + * 2 4 * Marvell XOR platform device data definition file. 3 5 */ 4 6 5 - #ifndef __ASM_PLAT_ORION_MV_XOR_H 6 - #define __ASM_PLAT_ORION_MV_XOR_H 7 + #ifndef __PLAT_MV_XOR_H 8 + #define __PLAT_MV_XOR_H 7 9 8 10 #include <linux/dmaengine.h> 9 11 #include <linux/mbus.h>
+3 -3
include/asm-arm/plat-orion/orion_nand.h arch/arm/plat-orion/include/plat/orion_nand.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/orion_nand.h 2 + * arch/arm/plat-orion/include/plat/orion_nand.h 3 3 * 4 4 * This file is licensed under the terms of the GNU General Public 5 5 * License version 2. This program is licensed "as is" without any 6 6 * warranty of any kind, whether express or implied. 7 7 */ 8 8 9 - #ifndef __ASM_PLAT_ORION_ORION_NAND_H 10 - #define __ASM_PLAT_ORION_ORION_NAND_H 9 + #ifndef __PLAT_ORION_NAND_H 10 + #define __PLAT_ORION_NAND_H 11 11 12 12 /* 13 13 * Device bus NAND private data
+3 -3
include/asm-arm/plat-orion/pcie.h arch/arm/plat-orion/include/plat/pcie.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/pcie.h 2 + * arch/arm/plat-orion/include/plat/pcie.h 3 3 * 4 4 * Marvell Orion SoC PCIe handling. 5 5 * ··· 8 8 * warranty of any kind, whether express or implied. 9 9 */ 10 10 11 - #ifndef __ASM_PLAT_ORION_PCIE_H 12 - #define __ASM_PLAT_ORION_PCIE_H 11 + #ifndef __PLAT_PCIE_H 12 + #define __PLAT_PCIE_H 13 13 14 14 u32 orion_pcie_dev_id(void __iomem *base); 15 15 u32 orion_pcie_rev(void __iomem *base);
+8 -6
include/asm-arm/plat-orion/time.h arch/arm/plat-orion/include/plat/ehci-orion.h
··· 1 1 /* 2 - * include/asm-arm/plat-orion/time.h 3 - * 4 - * Marvell Orion SoC time handling. 2 + * arch/arm/plat-orion/include/plat/ehci-orion.h 5 3 * 6 4 * This file is licensed under the terms of the GNU General Public 7 5 * License version 2. This program is licensed "as is" without any 8 6 * warranty of any kind, whether express or implied. 9 7 */ 10 8 11 - #ifndef __ASM_PLAT_ORION_TIME_H 12 - #define __ASM_PLAT_ORION_TIME_H 9 + #ifndef __PLAT_EHCI_ORION_H 10 + #define __PLAT_EHCI_ORION_H 13 11 14 - void orion_time_init(unsigned int irq, unsigned int tclk); 12 + #include <linux/mbus.h> 13 + 14 + struct orion_ehci_data { 15 + struct mbus_dram_target_info *dram; 16 + }; 15 17 16 18 17 19 #endif