Skip to content

Commit

Permalink
ARM: davinci: fix build breakage with DEBUG_LL
Browse files Browse the repository at this point in the history
commit fcf7157 ("ARM: davinci: serial: get rid of davinci_uart_config")
introduced build breakage because of a misplaced
header file include which cause a bunch of errors when
the file is included in assembly code (like debug-macro.S)

Fix the build breakage.

Reported-by: Alexander Holler <[email protected]>
Tested-by: Alexander Holler <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
  • Loading branch information
nsekhar committed Sep 19, 2013
1 parent 272b98c commit 53ed781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-davinci/include/mach/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

#include <mach/hardware.h>

#include <linux/platform_device.h>

#define DAVINCI_UART0_BASE (IO_PHYS + 0x20000)
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
#define DAVINCI_UART2_BASE (IO_PHYS + 0x20800)
Expand All @@ -39,6 +37,8 @@
#define UART_DM646X_SCR_TX_WATERMARK 0x08

#ifndef __ASSEMBLY__
#include <linux/platform_device.h>

extern int davinci_serial_init(struct platform_device *);
#endif

Expand Down

0 comments on commit 53ed781

Please sign in to comment.