Skip to content

Commit

Permalink
MIPS: BCM63XX: merge bcm63xx_clk.h into bcm63xx/clk.c
Browse files Browse the repository at this point in the history
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>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Patchwork: http://patchwork.linux-mips.org/patch/5055/
Acked-by: John Crispin <blogic@openwrt.org>
  • Loading branch information
Jonas Gorski authored and Ralf Baechle committed May 7, 2013
1 parent ab8ed98 commit 042df4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
8 changes: 7 additions & 1 deletion arch/mips/bcm63xx/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
11 changes: 0 additions & 11 deletions arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/tty/serial/bcm63xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 042df4f

Please sign in to comment.