Ignore:
File:
1 edited

Legend:

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

    r21b6307 r24abb85d  
    3535 */
    3636
     37#include <assert.h>
    3738#include <genarch/drivers/ns16550/ns16550.h>
    3839#include <ddi/irq.h>
     
    4041#include <console/chardev.h>
    4142#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();
    140139                instance->irq.inr = inr;
    141140                instance->irq.claim = ns16550_claim;
     
    157156void ns16550_wire(ns16550_instance_t *instance, indev_t *input)
    158157{
    159         ASSERT(instance);
    160         ASSERT(input);
     158        assert(instance);
     159        assert(input);
    161160       
    162161        instance->input = input;
Note: See TracChangeset for help on using the changeset viewer.