Changes in kernel/genarch/src/drivers/dsrln/dsrlnin.c [24abb85d:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/dsrln/dsrlnin.c
r24abb85d r9d58539 35 35 */ 36 36 37 #include <assert.h>38 37 #include <genarch/drivers/dsrln/dsrlnin.h> 39 38 #include <console/chardev.h> 40 39 #include <mm/slab.h> 41 40 #include <arch/asm.h> 41 #include <ddi/device.h> 42 42 43 43 static irq_ownership_t dsrlnin_claim(irq_t *irq) … … 63 63 64 64 irq_initialize(&instance->irq); 65 instance->irq.devno = device_assign_devno(); 65 66 instance->irq.inr = inr; 66 67 instance->irq.claim = dsrlnin_claim; … … 74 75 void dsrlnin_wire(dsrlnin_instance_t *instance, indev_t *srlnin) 75 76 { 76 assert(instance);77 assert(srlnin);77 ASSERT(instance); 78 ASSERT(srlnin); 78 79 79 80 instance->srlnin = srlnin;
Note:
See TracChangeset
for help on using the changeset viewer.