cosmetic: Fix camel case in ia32 and ia32_pci platforms
Converts camel case routine names to lower-case with underscores to comply with coding practices. Change-Id: I9fac0d3858389039c00882a7d2e97fcd4e4c812b Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
3ecf65e5ef
commit
9216a2cbb9
2 changed files with 15 additions and 15 deletions
|
@ -44,28 +44,28 @@ for the ia32 platform.
|
|||
#include <init.h>
|
||||
|
||||
#if defined(CONFIG_PIC) || defined(CONFIG_SHUTOFF_PIC)
|
||||
#define picInit() _i8259_init()
|
||||
#define pic_init() _i8259_init()
|
||||
#else
|
||||
#define picInit() \
|
||||
#define pic_init() \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#endif /* CONFIG_PIC */
|
||||
|
||||
#ifdef CONFIG_LOAPIC
|
||||
#include <drivers/loapic.h>
|
||||
static inline void loapicInit(void)
|
||||
static inline void loapic_init(void)
|
||||
{
|
||||
_loapic_init();
|
||||
}
|
||||
#else
|
||||
#define loapicInit() \
|
||||
#define loapic_init() \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#endif /* CONFIG_LOAPIC */
|
||||
|
||||
#ifdef CONFIG_IOAPIC
|
||||
#include <drivers/ioapic.h>
|
||||
static inline void ioapicInit(void)
|
||||
static inline void ioapic_init(void)
|
||||
{
|
||||
_ioapic_init();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ static inline void ioapicInit(void)
|
|||
#define uartIrqProg(irq) \
|
||||
_ioapic_irq_set((irq), (irq) + INT_VEC_IRQ0, UART_IOAPIC_FLAGS)
|
||||
#else
|
||||
#define ioapicInit(mask) \
|
||||
#define ioapic_init(mask) \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#define uartIrqProg(irq) \
|
||||
|
@ -112,7 +112,7 @@ void uart_generic_info_init(struct uart_init_info *p_info)
|
|||
|
||||
#include <console/uart_console.h>
|
||||
|
||||
static void consoleInit(void)
|
||||
static void console_init(void)
|
||||
{
|
||||
struct uart_init_info info;
|
||||
|
||||
|
@ -122,7 +122,7 @@ static void consoleInit(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#define consoleInit() \
|
||||
#define console_init() \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#endif /* defined(CONFIG_PRINTK) || defined(CONFIG_STDOUT_CONSOLE) */
|
||||
|
@ -156,11 +156,11 @@ static int ia32_init(struct device *arg)
|
|||
{
|
||||
ARG_UNUSED(arg);
|
||||
|
||||
picInit(); /* NOP if not needed */
|
||||
loapicInit(); /* NOP if not needed */
|
||||
pic_init(); /* NOP if not needed */
|
||||
loapic_init(); /* NOP if not needed */
|
||||
|
||||
ioapicInit(); /* NOP if not needed */
|
||||
consoleInit(); /* NOP if not needed */
|
||||
ioapic_init(); /* NOP if not needed */
|
||||
console_init(); /* NOP if not needed */
|
||||
bluetooth_init(); /* NOP if not needed */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ void uart_generic_info_init(struct uart_init_info *p_info)
|
|||
|
||||
#include <console/uart_console.h>
|
||||
|
||||
static void consoleInit(void)
|
||||
static void console_init(void)
|
||||
{
|
||||
struct uart_init_info info;
|
||||
|
||||
|
@ -89,7 +89,7 @@ static void consoleInit(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#define consoleInit() \
|
||||
#define console_init() \
|
||||
do {/* nothing */ \
|
||||
} while ((0))
|
||||
#endif /* defined(CONFIG_PRINTK) || defined(CONFIG_STDOUT_CONSOLE) */
|
||||
|
@ -113,7 +113,7 @@ static int ia32_pci_init(struct device *arg)
|
|||
|
||||
_ioapic_irq_set(HPET_TIMER0_IRQ, HPET_TIMER0_VEC, HPET_IOAPIC_FLAGS);
|
||||
|
||||
consoleInit(); /* NOP if not needed */
|
||||
console_init(); /* NOP if not needed */
|
||||
|
||||
#ifdef CONFIG_PCI_DEBUG
|
||||
/* Rescan PCI and display the list of PCI attached devices */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue