diff options
author | Andrew Boie <andrew.p.boie@intel.com> | 2016-01-27 10:07:31 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:25:25 -0500 |
commit | 897ffaeb2c821a20cf2df8c53958bc865009a7d1 (patch) | |
tree | 342a12365df641499c4f9fec61ccef33926cf0d1 /drivers/console/uart_pipe.c | |
parent | a4ec9631380abf8ffdc4385e38dc386858df846a (diff) |
irq: rename irq_connect() to IRQ_CONNECT()
It's not a function and requires all its arguments to be build-time
constants. Make this more obvious to the end user to ease confusion.
Change-Id: I64107cf4d9db9f0e853026ce78e477060570fe6f
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'drivers/console/uart_pipe.c')
-rw-r--r-- | drivers/console/uart_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/console/uart_pipe.c b/drivers/console/uart_pipe.c index bd7aa2f87..0c7139726 100644 --- a/drivers/console/uart_pipe.c +++ b/drivers/console/uart_pipe.c @@ -77,7 +77,7 @@ static void uart_pipe_setup(struct device *uart) uart_irq_rx_disable(uart); uart_irq_tx_disable(uart); - irq_connect(CONFIG_UART_PIPE_IRQ, CONFIG_UART_PIPE_IRQ_PRI, + IRQ_CONNECT(CONFIG_UART_PIPE_IRQ, CONFIG_UART_PIPE_IRQ_PRI, uart_pipe_isr, 0, UART_IRQ_FLAGS); irq_enable(CONFIG_UART_PIPE_IRQ); |