diff options
Diffstat (limited to 'arch/arm/mach-bcmring')
-rw-r--r-- | arch/arm/mach-bcmring/dma.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/include/mach/clkdev.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/include/mach/entry-macro.S | 4 | ||||
-rw-r--r-- | arch/arm/mach-bcmring/include/mach/hardware.h | 2 |
4 files changed, 2 insertions, 15 deletions
diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c index d87ad30dda3..0ca00050666 100644 --- a/arch/arm/mach-bcmring/dma.c +++ b/arch/arm/mach-bcmring/dma.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | #include <linux/mm.h> | 35 | #include <linux/mm.h> |
36 | #include <linux/pfn.h> | 36 | #include <linux/pfn.h> |
37 | #include <asm/atomic.h> | 37 | #include <linux/atomic.h> |
38 | #include <mach/dma.h> | 38 | #include <mach/dma.h> |
39 | 39 | ||
40 | /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */ | 40 | /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */ |
@@ -835,7 +835,7 @@ int dma_init(void) | |||
835 | 835 | ||
836 | /* Create /proc/dma/channels and /proc/dma/devices */ | 836 | /* Create /proc/dma/channels and /proc/dma/devices */ |
837 | 837 | ||
838 | gDmaDir = create_proc_entry("dma", S_IFDIR | S_IRUGO | S_IXUGO, NULL); | 838 | gDmaDir = proc_mkdir("dma", NULL); |
839 | 839 | ||
840 | if (gDmaDir == NULL) { | 840 | if (gDmaDir == NULL) { |
841 | printk(KERN_ERR "Unable to create /proc/dma\n"); | 841 | printk(KERN_ERR "Unable to create /proc/dma\n"); |
diff --git a/arch/arm/mach-bcmring/include/mach/clkdev.h b/arch/arm/mach-bcmring/include/mach/clkdev.h deleted file mode 100644 index 04b37a89801..00000000000 --- a/arch/arm/mach-bcmring/include/mach/clkdev.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __ASM_MACH_CLKDEV_H | ||
2 | #define __ASM_MACH_CLKDEV_H | ||
3 | |||
4 | #define __clk_get(clk) ({ 1; }) | ||
5 | #define __clk_put(clk) do { } while (0) | ||
6 | |||
7 | #endif | ||
diff --git a/arch/arm/mach-bcmring/include/mach/entry-macro.S b/arch/arm/mach-bcmring/include/mach/entry-macro.S index 7d393ca010a..94c950d783b 100644 --- a/arch/arm/mach-bcmring/include/mach/entry-macro.S +++ b/arch/arm/mach-bcmring/include/mach/entry-macro.S | |||
@@ -80,7 +80,3 @@ | |||
80 | 80 | ||
81 | .macro arch_ret_to_user, tmp1, tmp2 | 81 | .macro arch_ret_to_user, tmp1, tmp2 |
82 | .endm | 82 | .endm |
83 | |||
84 | .macro irq_prio_table | ||
85 | .endm | ||
86 | |||
diff --git a/arch/arm/mach-bcmring/include/mach/hardware.h b/arch/arm/mach-bcmring/include/mach/hardware.h index 8bf3564fba5..ed78aabb8e9 100644 --- a/arch/arm/mach-bcmring/include/mach/hardware.h +++ b/arch/arm/mach-bcmring/include/mach/hardware.h | |||
@@ -36,8 +36,6 @@ | |||
36 | #define RAM_SIZE (CFG_GLOBAL_RAM_SIZE-CFG_GLOBAL_RAM_SIZE_RESERVED) | 36 | #define RAM_SIZE (CFG_GLOBAL_RAM_SIZE-CFG_GLOBAL_RAM_SIZE_RESERVED) |
37 | #define RAM_BASE PAGE_OFFSET | 37 | #define RAM_BASE PAGE_OFFSET |
38 | 38 | ||
39 | #define pcibios_assign_all_busses() 1 | ||
40 | |||
41 | /* Macros to make managing spinlocks a bit more controlled in terms of naming. */ | 39 | /* Macros to make managing spinlocks a bit more controlled in terms of naming. */ |
42 | /* See reg_gpio.h, reg_irq.h, arch.c, gpio.c for example usage. */ | 40 | /* See reg_gpio.h, reg_irq.h, arch.c, gpio.c for example usage. */ |
43 | #if defined(__KERNEL__) | 41 | #if defined(__KERNEL__) |