Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/dsrln/dsrlnin.c

    r24abb85d r9d58539  
    3535 */
    3636
    37 #include <assert.h>
    3837#include <genarch/drivers/dsrln/dsrlnin.h>
    3938#include <console/chardev.h>
    4039#include <mm/slab.h>
    4140#include <arch/asm.h>
     41#include <ddi/device.h>
    4242
    4343static irq_ownership_t dsrlnin_claim(irq_t *irq)
     
    6363               
    6464                irq_initialize(&instance->irq);
     65                instance->irq.devno = device_assign_devno();
    6566                instance->irq.inr = inr;
    6667                instance->irq.claim = dsrlnin_claim;
     
    7475void dsrlnin_wire(dsrlnin_instance_t *instance, indev_t *srlnin)
    7576{
    76         assert(instance);
    77         assert(srlnin);
     77        ASSERT(instance);
     78        ASSERT(srlnin);
    7879       
    7980        instance->srlnin = srlnin;
Note: See TracChangeset for help on using the changeset viewer.