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