msm: camera: sync: Fix imports for types
Fix the order of imports for to resolve cam_sync typedef for kernel CFI. CRs-Fixed: 2772200 Change-Id: I4e5e642e6b45412904585aaa68c0ef77fedeee2d Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
#include <media/v4l2-subdev.h>
|
#include <media/v4l2-subdev.h>
|
||||||
#include <media/v4l2-event.h>
|
#include <media/v4l2-event.h>
|
||||||
#include <media/v4l2-ioctl.h>
|
#include <media/v4l2-ioctl.h>
|
||||||
|
#include "cam_sync_api.h"
|
||||||
|
|
||||||
#if IS_REACHABLE(CONFIG_MSM_GLOBAL_SYNX)
|
#if IS_REACHABLE(CONFIG_MSM_GLOBAL_SYNX)
|
||||||
#include <synx_api.h>
|
#include <synx_api.h>
|
||||||
|
@@ -291,10 +291,9 @@ void cam_sync_util_cb_dispatch(struct work_struct *cb_dispatch_work)
|
|||||||
struct sync_callback_info *cb_info = container_of(cb_dispatch_work,
|
struct sync_callback_info *cb_info = container_of(cb_dispatch_work,
|
||||||
struct sync_callback_info,
|
struct sync_callback_info,
|
||||||
cb_dispatch_work);
|
cb_dispatch_work);
|
||||||
|
sync_callback sync_data = cb_info->callback_func;
|
||||||
|
|
||||||
cb_info->callback_func(cb_info->sync_obj,
|
sync_data(cb_info->sync_obj, cb_info->status, cb_info->cb_data);
|
||||||
cb_info->status,
|
|
||||||
cb_info->cb_data);
|
|
||||||
|
|
||||||
kfree(cb_info);
|
kfree(cb_info);
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,6 @@
|
|||||||
#define __CAM_SYNC_UTIL_H__
|
#define __CAM_SYNC_UTIL_H__
|
||||||
|
|
||||||
|
|
||||||
#include <cam_sync_api.h>
|
|
||||||
#include "cam_sync_private.h"
|
#include "cam_sync_private.h"
|
||||||
#include "cam_debug_util.h"
|
#include "cam_debug_util.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user