The imx_4.19.y branch has a fresh import of SCFW and there are a few
tiny changes required to build this driver.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Anson Huang <Anson.Huang@nxp.com>
#include <linux/platform_device.h>
#include <soc/imx8/sc/sci.h>
#include <soc/imx8/sc/svc/irq/api.h>
+#include <soc/imx8/sc/svc/misc/api.h>
#define DEBOUNCE_TIME 100
#define REPEAT_INTERVAL 60
static void imx_sc_check_for_events(struct work_struct *work)
{
struct input_dev *input = pdata->input;
- bool state;
+ sc_bool_t state;
sc_misc_get_button_status(pdata->ipcHandle, &state);
/*