Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/ns16550/ns16550.c

    r24abb85d r21b6307  
    3535 */
    3636
    37 #include <assert.h>
    3837#include <genarch/drivers/ns16550/ns16550.h>
    3938#include <ddi/irq.h>
     
    4140#include <console/chardev.h>
    4241#include <mm/slab.h>
     42#include <ddi/device.h>
    4343#include <str.h>
    4444
     
    137137               
    138138                irq_initialize(&instance->irq);
     139                instance->irq.devno = device_assign_devno();
    139140                instance->irq.inr = inr;
    140141                instance->irq.claim = ns16550_claim;
     
    156157void ns16550_wire(ns16550_instance_t *instance, indev_t *input)
    157158{
    158         assert(instance);
    159         assert(input);
     159        ASSERT(instance);
     160        ASSERT(input);
    160161       
    161162        instance->input = input;
Note: See TracChangeset for help on using the changeset viewer.