Fix errors found in build testing.

This commit is contained in:
Gregory Nutt 2017-02-28 09:32:24 -06:00
parent dc93340a01
commit aa0c05af85
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
****************************************************************************/
#ifdef CONFIG_ARCH_IRQBUTTONS
static int button_handler(int irq, FAR void *context);
static int button_handler(int irq, FAR void *context, FAR void *arg);
#endif /* CONFIG_ARCH_IRQBUTTONS */
/****************************************************************************

View File

@ -176,7 +176,7 @@ static void button_pm_notify(struct pm_callback_s *cb, int domain,
#if 0
#ifdef CONFIG_ARCH_IRQBUTTONS
static int button_handler(int irq, FAR void *context)
static int button_handler(int irq, FAR void *context, FAR void *arg)
{
#ifdef CONFIG_PM
/* At this point the MCU should have already awakened. The state