diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-19 18:32:13 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-19 18:32:13 +0000 |
commit | f6a2f33347da35ced5d08990c3bdc086c97b11c7 (patch) | |
tree | 1462b284b9bb6c1b3416a7de0ddd35dab51959c3 /target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch | |
parent | 2ce30d075aab8baa7aae7ac3d58e46690e02f282 (diff) |
bcm63xx: add 3.9 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36660 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch b/target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch new file mode 100644 index 000000000..c3dedb47b --- /dev/null +++ b/target/linux/brcm63xx/patches-3.9/018-MIPS-BCM63XX-merge-bcm63xx_clk.h-into-bcm63xx-clk.c.patch @@ -0,0 +1,57 @@ +From 715d03e5409fac9cbe76fd802db49ca15158378f Mon Sep 17 00:00:00 2001 +From: Jonas Gorski <jogo@openwrt.org> +Date: Sat, 30 Mar 2013 20:31:48 +0100 +Subject: [PATCH] MIPS: BCM63XX: merge bcm63xx_clk.h into bcm63xx/clk.c + +All the header file does is provide the internal structure of clk, +which shouldn't be used by anyone except clk.c itself anyway. + +Signed-off-by: Jonas Gorski <jogo@openwrt.org> +--- + arch/mips/bcm63xx/clk.c | 8 +++++++- + arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h | 11 ----------- + drivers/tty/serial/bcm63xx_uart.c | 1 - + 3 files changed, 7 insertions(+), 13 deletions(-) + delete mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h + +--- a/arch/mips/bcm63xx/clk.c ++++ b/arch/mips/bcm63xx/clk.c +@@ -15,7 +15,13 @@ + #include <bcm63xx_io.h> + #include <bcm63xx_regs.h> + #include <bcm63xx_reset.h> +-#include <bcm63xx_clk.h> ++ ++struct clk { ++ void (*set)(struct clk *, int); ++ unsigned int rate; ++ unsigned int usage; ++ int id; ++}; + + static DEFINE_MUTEX(clocks_mutex); + +--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h ++++ /dev/null +@@ -1,11 +0,0 @@ +-#ifndef BCM63XX_CLK_H_ +-#define BCM63XX_CLK_H_ +- +-struct clk { +- void (*set)(struct clk *, int); +- unsigned int rate; +- unsigned int usage; +- int id; +-}; +- +-#endif /* ! BCM63XX_CLK_H_ */ +--- a/drivers/tty/serial/bcm63xx_uart.c ++++ b/drivers/tty/serial/bcm63xx_uart.c +@@ -30,7 +30,6 @@ + #include <linux/serial.h> + #include <linux/serial_core.h> + +-#include <bcm63xx_clk.h> + #include <bcm63xx_irq.h> + #include <bcm63xx_regs.h> + #include <bcm63xx_io.h> |