Ignore:
Timestamp:
2013-05-01T23:04:34Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eef14771
Parents:
9d504072
Message:

Fix build when CONFIG_OMAP_UART is not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/drivers/omap/uart.h

    r9d504072 r69483af  
    4646} omap_uart_t;
    4747
    48 #ifdef CONFIG_OMAP_UART
    4948extern bool omap_uart_init(omap_uart_t *uart, inr_t interrupt,
    5049    uintptr_t addr, size_t size);
    5150
    5251extern void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev);
    53 #else
    54 static bool omap_uart_init(omap_uart_t *uart, inr_t interrupt,
    55     uintptr_t addr, size_t size)
    56 { return true; }
    57 
    58 static void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev) {}
    59 #endif
    6052
    6153#endif
Note: See TracChangeset for help on using the changeset viewer.