Ignore:
Timestamp:
2017-10-17T13:11:35Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

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

    rdbf32b1 r95c675b  
    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.