SAMA5D4-EK: Add missing argument to interrupt handler.

This commit is contained in:
Gregory Nutt
2017-02-27 09:36:12 -06:00
parent 3129c7536e
commit 97b9bb7fa5
3 changed files with 3 additions and 11 deletions
-4
View File
@@ -86,10 +86,6 @@
#ifdef HAVE_HSMCI #ifdef HAVE_HSMCI
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
-4
View File
@@ -86,10 +86,6 @@
#ifdef HAVE_HSMCI #ifdef HAVE_HSMCI
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
+3 -3
View File
@@ -136,7 +136,7 @@ static struct sam_hsmci_state_s g_hsmci0 =
#endif #endif
#ifdef CONFIG_SAMA5_HSMCI1 #ifdef CONFIG_SAMA5_HSMCI1
static int sam_hsmci1_cardetect(int irq, void *regs); static int sam_hsmci1_cardetect(int irq, void *regs, FAR void *arg);
static struct sam_hsmci_state_s g_hsmci1 = static struct sam_hsmci_state_s g_hsmci1 =
{ {
@@ -202,7 +202,7 @@ static int sam_hsmci_cardetect(struct sam_hsmci_state_s *state)
} }
#ifdef CONFIG_SAMA5_HSMCI0 #ifdef CONFIG_SAMA5_HSMCI0
static int sam_hsmci0_cardetect(int irq, void *regs, FAR void *arg) static int sam_hsmci0_cardetect(int irq, FAR void *regs, FAR void *arg)
{ {
int ret; int ret;
@@ -224,7 +224,7 @@ static int sam_hsmci0_cardetect(int irq, void *regs, FAR void *arg)
#endif #endif
#ifdef CONFIG_SAMA5_HSMCI1 #ifdef CONFIG_SAMA5_HSMCI1
static int sam_hsmci1_cardetect(int irq, void *regs) static int sam_hsmci1_cardetect(int irq, FAR void *regs, FAR void *arg)
{ {
int ret; int ret;