Changes in kernel/genarch/src/drivers/ns16550/ns16550.c [24abb85d:21b6307] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/ns16550/ns16550.c
r24abb85d r21b6307 35 35 */ 36 36 37 #include <assert.h>38 37 #include <genarch/drivers/ns16550/ns16550.h> 39 38 #include <ddi/irq.h> … … 41 40 #include <console/chardev.h> 42 41 #include <mm/slab.h> 42 #include <ddi/device.h> 43 43 #include <str.h> 44 44 … … 137 137 138 138 irq_initialize(&instance->irq); 139 instance->irq.devno = device_assign_devno(); 139 140 instance->irq.inr = inr; 140 141 instance->irq.claim = ns16550_claim; … … 156 157 void ns16550_wire(ns16550_instance_t *instance, indev_t *input) 157 158 { 158 assert(instance);159 assert(input);159 ASSERT(instance); 160 ASSERT(input); 160 161 161 162 instance->input = input;
Note:
See TracChangeset
for help on using the changeset viewer.