mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
SAMA5D4-EK: Add missing argument to interrupt handler.
This commit is contained in:
@@ -86,10 +86,6 @@
|
|||||||
|
|
||||||
#ifdef HAVE_HSMCI
|
#ifdef HAVE_HSMCI
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Pre-processor Definitions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -86,10 +86,6 @@
|
|||||||
|
|
||||||
#ifdef HAVE_HSMCI
|
#ifdef HAVE_HSMCI
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Pre-processor Definitions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user