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/src/drivers/pl011/pl011.c

    r7354b5e r63e27ef  
    3535 */
    3636
     37#include <assert.h>
    3738#include <genarch/drivers/pl011/pl011.h>
    3839#include <console/chardev.h>
     
    9899bool pl011_uart_init(pl011_uart_t *uart, inr_t interrupt, uintptr_t addr)
    99100{
    100         ASSERT(uart);
     101        assert(uart);
    101102        uart->regs = (void*)km_map(addr, sizeof(pl011_uart_regs_t),
    102103                                   PAGE_NOT_CACHEABLE);
    103         ASSERT(uart->regs);
     104        assert(uart->regs);
    104105
    105106        /* Disable UART */
     
    137138void pl011_uart_input_wire(pl011_uart_t *uart, indev_t *indev)
    138139{
    139         ASSERT(uart);
    140         ASSERT(indev);
     140        assert(uart);
     141        assert(indev);
    141142
    142143        uart->indev = indev;
Note: See TracChangeset for help on using the changeset viewer.