mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-20 16:25:18 +00:00
Fixing gcc build warnings
This commit is contained in:
@@ -53,6 +53,6 @@ typedef enum {
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* FUNCTION DECLARATIONS
|
* FUNCTION DECLARATIONS
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void ebmp_init(Gpp_gpioCfg *driver);
|
int ebmp_init(Gpp_gpioCfg *driver);
|
||||||
|
|
||||||
#endif /* EBMP_H_ */
|
#endif /* EBMP_H_ */
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
// HEADER FILES
|
// HEADER FILES
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
#include "inc/subsystem/gpp/ebmp.h"
|
#include "inc/subsystem/gpp/ebmp.h"
|
||||||
|
#include "devices/i2c/threaded_int.h"
|
||||||
|
|
||||||
#include "Board.h"
|
#include "Board.h"
|
||||||
#include "common/inc/global/ocmp_frame.h"
|
#include "common/inc/global/ocmp_frame.h"
|
||||||
@@ -231,7 +232,7 @@ static void ebmp_handle_irq(void *context)
|
|||||||
** ARGUMENTS : None
|
** ARGUMENTS : None
|
||||||
** RETURN TYPE : None
|
** RETURN TYPE : None
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void ebmp_init(Gpp_gpioCfg *driver)
|
int ebmp_init(Gpp_gpioCfg *driver)
|
||||||
{
|
{
|
||||||
pin_ap_boot_alert1 = &driver->pin_ap_boot_alert1;
|
pin_ap_boot_alert1 = &driver->pin_ap_boot_alert1;
|
||||||
pin_ap_boot_alert2 = &driver->pin_ap_boot_alert2;
|
pin_ap_boot_alert2 = &driver->pin_ap_boot_alert2;
|
||||||
@@ -271,6 +272,8 @@ void ebmp_init(Gpp_gpioCfg *driver)
|
|||||||
/* Use a threaded interrupt to handle IRQ */
|
/* Use a threaded interrupt to handle IRQ */
|
||||||
ThreadedInt_Init(pin_soc_pltrst_n, ebmp_handle_irq, (void *)AP_RESET);
|
ThreadedInt_Init(pin_soc_pltrst_n, ebmp_handle_irq, (void *)AP_RESET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return RETURN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user