summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2011-11-18 06:49:11 +0000
committerWolfgang Denk <wd@denx.de>2011-12-05 22:47:45 +0100
commita6e6f7f4d0cb1925cb00a7833e7abd1d24576e66 (patch)
tree3e62b27a4950a96b062f9379874f37a1d0473d6a /include
parent4715a81136049167160230efd28eb9d48eeded1f (diff)
downloadu-boot-imx-a6e6f7f4d0cb1925cb00a7833e7abd1d24576e66.zip
u-boot-imx-a6e6f7f4d0cb1925cb00a7833e7abd1d24576e66.tar.gz
u-boot-imx-a6e6f7f4d0cb1925cb00a7833e7abd1d24576e66.tar.bz2
serial: cosmetic checkpatch compliance
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/serial.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/serial.h b/include/serial.h
index 5926244..9d623ca 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -24,14 +24,15 @@ struct serial_device {
extern struct serial_device serial_smc_device;
extern struct serial_device serial_scc_device;
-extern struct serial_device * default_serial_console (void);
-
-#if defined(CONFIG_405GP) || defined(CONFIG_405CR) || defined(CONFIG_440) || \
- defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \
- defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
- defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
- defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
- defined(CONFIG_TEGRA2)
+extern struct serial_device *default_serial_console(void);
+
+#if defined(CONFIG_405GP) || defined(CONFIG_405CR) || \
+ defined(CONFIG_405EP) || defined(CONFIG_405EZ) || \
+ defined(CONFIG_405EX) || defined(CONFIG_440) || \
+ defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
+ defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
+ defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
+ defined(CONFIG_TEGRA2)
extern struct serial_device serial0_device;
extern struct serial_device serial1_device;
#if defined(CONFIG_SYS_NS16550_SERIAL)
@@ -92,7 +93,7 @@ extern struct serial_device bfin_serial3_device;
extern void serial_register(struct serial_device *);
extern void serial_initialize(void);
extern void serial_stdio_init(void);
-extern int serial_assign(char * name);
+extern int serial_assign(char *name);
extern void serial_reinit_all(void);
/* For usbtty */