serial: cosmetic checkpatch compliance
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
4715a81136
commit
a6e6f7f4d0
@ -29,8 +29,8 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
static struct serial_device *serial_devices = NULL;
|
||||
static struct serial_device *serial_current = NULL;
|
||||
static struct serial_device *serial_devices;
|
||||
static struct serial_device *serial_current;
|
||||
|
||||
void serial_register(struct serial_device *dev)
|
||||
{
|
||||
@ -52,8 +52,8 @@ void serial_initialize (void)
|
||||
#if defined(CONFIG_8xx_CONS_SMC1) || defined(CONFIG_8xx_CONS_SMC2)
|
||||
serial_register(&serial_smc_device);
|
||||
#endif
|
||||
#if defined(CONFIG_8xx_CONS_SCC1) || defined(CONFIG_8xx_CONS_SCC2) \
|
||||
|| defined(CONFIG_8xx_CONS_SCC3) || defined(CONFIG_8xx_CONS_SCC4)
|
||||
#if defined(CONFIG_8xx_CONS_SCC1) || defined(CONFIG_8xx_CONS_SCC2) || \
|
||||
defined(CONFIG_8xx_CONS_SCC3) || defined(CONFIG_8xx_CONS_SCC4)
|
||||
serial_register(&serial_scc_device);
|
||||
#endif
|
||||
|
||||
@ -167,10 +167,9 @@ void serial_reinit_all (void)
|
||||
{
|
||||
struct serial_device *s;
|
||||
|
||||
for (s = serial_devices; s; s = s->next) {
|
||||
for (s = serial_devices; s; s = s->next)
|
||||
s->init();
|
||||
}
|
||||
}
|
||||
|
||||
static struct serial_device *get_current(void)
|
||||
{
|
||||
|
@ -26,8 +26,9 @@ 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) || \
|
||||
#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) || \
|
||||
|
Loading…
Reference in New Issue
Block a user