Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/drivers/bcm2835/irc.h

    r7354b5e r63e27ef  
    3838#define KERN_BCM2835_IRQC_H_
    3939
     40#include <assert.h>
    4041#include <typedefs.h>
    4142
     
    158159static inline void bcm2835_irc_enable(bcm2835_irc_t *regs, unsigned inum)
    159160{
    160         ASSERT(inum < BCM2835_IRQ_COUNT);
     161        assert(inum < BCM2835_IRQ_COUNT);
    161162        regs->irq_enable[IRQ_TO_BANK(inum)] |= (1 << IRQ_TO_NUM(inum));
    162163}
     
    164165static inline void bcm2835_irc_disable(bcm2835_irc_t *regs, unsigned inum)
    165166{
    166         ASSERT(inum < BCM2835_IRQ_COUNT);
     167        assert(inum < BCM2835_IRQ_COUNT);
    167168        regs->irq_disable[IRQ_TO_BANK(inum)] |= (1 << IRQ_TO_NUM(inum));
    168169}
Note: See TracChangeset for help on using the changeset viewer.