소스 검색

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>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Patchwork: http://patchwork.linux-mips.org/patch/5055/
Acked-by: John Crispin <blogic@openwrt.org>
Jonas Gorski 12 년 전
부모
커밋
042df4fa28
3개의 변경된 파일7개의 추가작업 그리고 13개의 파일을 삭제
  1. 7 1
      arch/mips/bcm63xx/clk.c
  2. 0 11
      arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h
  3. 0 1
      drivers/tty/serial/bcm63xx_uart.c

+ 7 - 1
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);
 

+ 0 - 11
arch/mips/include/asm/mach-bcm63xx/bcm63xx_clk.h

@@ -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_ */

+ 0 - 1
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>