[PATCH 07/22] ARM: omap: rename INIT_LL to omap_uart_lowlevel_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Function should use lower case letters. Also give this function
more namespace. While at it include io.h rather than asm/io.h.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/mach-omap/include/mach/debug_ll.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap/include/mach/debug_ll.h b/arch/arm/mach-omap/include/mach/debug_ll.h
index 38ca562..2917558 100644
--- a/arch/arm/mach-omap/include/mach/debug_ll.h
+++ b/arch/arm/mach-omap/include/mach/debug_ll.h
@@ -17,7 +17,7 @@
 #ifndef __MACH_DEBUG_LL_H__
 #define   __MACH_DEBUG_LL_H__
 
-#include <asm/io.h>
+#include <io.h>
 
 #ifdef CONFIG_ARCH_OMAP3
 #include <mach/omap3-silicon.h>
@@ -56,7 +56,7 @@
 #define MCR		(4 << 2)
 #define MDR		(8 << 2)
 
-static inline void INIT_LL(void)
+static inline void omap_uart_lowlevel_init(void)
 {
 	writeb(0x00, UART_BASE + LCR);
 	writeb(0x00, UART_BASE + IER);
-- 
1.8.4.rc3


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux