summaryrefslogtreecommitdiff
path: root/drivers/serial.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@atlas.denx.de>2006-10-09 00:42:01 +0200
committerWolfgang Denk <wd@atlas.denx.de>2006-10-09 00:42:01 +0200
commit511d0c72b82aab9b807efde50fc9e390365f5ca1 (patch)
tree08f47c77d9ce164bf38b937858c9d25344639950 /drivers/serial.c
parent8d4ac794365a7abb1be8e050fd1b467b94a21865 (diff)
downloadu-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.zip
u-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.tar.gz
u-boot-imx-511d0c72b82aab9b807efde50fc9e390365f5ca1.tar.bz2
Coding style cleanup
Diffstat (limited to 'drivers/serial.c')
-rw-r--r--drivers/serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial.c b/drivers/serial.c
index 8d1ae96..76425d8 100644
--- a/drivers/serial.c
+++ b/drivers/serial.c
@@ -39,7 +39,7 @@ DECLARE_GLOBAL_DATA_PTR;
#if !defined(CONFIG_CONS_INDEX)
#if defined (CONFIG_SERIAL_MULTI)
/* with CONFIG_SERIAL_MULTI we might have no console
- * on these devices
+ * on these devices
*/
#else
#error "No console index specified."
@@ -238,7 +238,7 @@ serial_putc(const char c)
#endif
#if defined(CONFIG_SERIAL_MULTI)
-static inline void
+static inline void
serial_putc_raw_dev(unsigned int dev_index,const char c)
{
_serial_putc_raw(c,dev_index);
@@ -310,7 +310,7 @@ serial_setbrg(void)
#if defined(CONFIG_SERIAL_MULTI)
DECLARE_ESERIAL_FUNCTIONS(1);
-struct serial_device eserial1_device =
+struct serial_device eserial1_device =
INIT_ESERIAL_STRUCTURE(1,"eserial0","EUART1");
DECLARE_ESERIAL_FUNCTIONS(2);
struct serial_device eserial2_device =