Changes in kernel/genarch/src/drivers/omap/uart.c [7ddc2c7:24abb85d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/omap/uart.c
r7ddc2c7 r24abb85d 35 35 */ 36 36 37 #include <assert.h> 37 38 #include <genarch/drivers/omap/uart.h> 38 #include <ddi/device.h>39 39 #include <str.h> 40 40 #include <mm/km.h> … … 86 86 omap_uart_t *uart, inr_t interrupt, uintptr_t addr, size_t size) 87 87 { 88 ASSERT(uart);88 assert(uart); 89 89 uart->regs = (void *)km_map(addr, size, PAGE_NOT_CACHEABLE); 90 90 91 ASSERT(uart->regs);91 assert(uart->regs); 92 92 93 93 /* Soft reset the port */ … … 160 160 /* Initialize IRQ */ 161 161 irq_initialize(&uart->irq); 162 uart->irq.devno = device_assign_devno();163 162 uart->irq.inr = interrupt; 164 163 uart->irq.claim = omap_uart_claim; … … 171 170 void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev) 172 171 { 173 ASSERT(uart);172 assert(uart); 174 173 /* Set indev */ 175 174 uart->indev = indev;
Note:
See TracChangeset
for help on using the changeset viewer.