]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: BCM63XX: use linux/serial_bcm63xx.h
authorFlorian Fainelli <florian@openwrt.org>
Fri, 6 Dec 2013 02:26:08 +0000 (18:26 -0800)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 13:36:30 +0000 (14:36 +0100)
Update the early_printk code to include linux/serial_bcm63xx.h which
provides the definitions for the UART block registers. While at it,
remove the inclusion of serial_bcm63xx.h which was just there to allow
smooth transition.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6203/

arch/mips/bcm63xx/early_printk.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h

index aa8f7f9cc7a4b6c8783b97253c2bea11d7bc6921..f92f1a25e19b9c635c3e5a0ca13cdeb184a4a44c 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <linux/init.h>
 #include <bcm63xx_io.h>
-#include <bcm63xx_regs.h>
+#include <linux/serial_bcm63xx.h>
 
 static void wait_xfered(void)
 {
index 96a2d2c724fa8f3658f92776e1ca006c9b3a2735..ab427f8814e6b2b3658aada7b5f4e4e882e6ca37 100644 (file)
 /* Watchdog soft reset register (BCM6328 only) */
 #define WDT_SOFTRESET_REG              0xc
 
-/*************************************************************************
- * _REG relative to RSET_UARTx
- *************************************************************************/
-
-#include <linux/serial_bcm63xx.h>
-
-
 /*************************************************************************
  * _REG relative to RSET_GPIO
  *************************************************************************/