Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/omap/uart.c

    r7ddc2c7 r24abb85d  
    3535 */
    3636
     37#include <assert.h>
    3738#include <genarch/drivers/omap/uart.h>
    38 #include <ddi/device.h>
    3939#include <str.h>
    4040#include <mm/km.h>
     
    8686    omap_uart_t *uart, inr_t interrupt, uintptr_t addr, size_t size)
    8787{
    88         ASSERT(uart);
     88        assert(uart);
    8989        uart->regs = (void *)km_map(addr, size, PAGE_NOT_CACHEABLE);
    9090
    91         ASSERT(uart->regs);
     91        assert(uart->regs);
    9292
    9393        /* Soft reset the port */
     
    160160        /* Initialize IRQ */
    161161        irq_initialize(&uart->irq);
    162         uart->irq.devno = device_assign_devno();
    163162        uart->irq.inr = interrupt;
    164163        uart->irq.claim = omap_uart_claim;
     
    171170void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev)
    172171{
    173         ASSERT(uart);
     172        assert(uart);
    174173        /* Set indev */
    175174        uart->indev = indev;
Note: See TracChangeset for help on using the changeset viewer.