From 840c5935a3beb412766c673df1650f711520520b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 27 Feb 2017 11:58:20 -0600 Subject: [PATCH] Correct a typo from one of the preceding commits. --- drivers/wireless/nrf24l01.c | 2 +- sched/irq/irq_attach.c | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/wireless/nrf24l01.c b/drivers/wireless/nrf24l01.c index 01c1f01698..d1b6767f67 100644 --- a/drivers/wireless/nrf24l01.c +++ b/drivers/wireless/nrf24l01.c @@ -499,7 +499,7 @@ static int nrf24l01_irqhandler(int irq, FAR void *context, FAR void *arg) /* If RX is enabled we delegate the actual work to bottom-half handler */ - work_queue(HPWORK, &priv->irq_work, nrf24l01_worker, dev, 0); + work_queue(HPWORK, &dev->irq_work, nrf24l01_worker, dev, 0); #else /* Otherwise we simply wake up the send function */ diff --git a/sched/irq/irq_attach.c b/sched/irq/irq_attach.c index c006ea15df..ae147e2004 100644 --- a/sched/irq/irq_attach.c +++ b/sched/irq/irq_attach.c @@ -43,26 +43,6 @@ #include "irq/irq.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Type Declarations - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/