clover: camera: Fix duplicated symbol mm_camera_shim_module_init

Change-Id: I50cb2116bd289b16ec90c0c1700bf100f19c6c2d
This commit is contained in:
Yumi Yukimura 2024-03-12 20:58:29 +08:00 committed by CakesTwix
parent c720bfe496
commit f054a08b17
2 changed files with 3 additions and 1 deletions

View file

@ -94,6 +94,6 @@ typedef struct {
int32_t (*mm_camera_shim_send_cmd)(cam_shim_packet_t *event); int32_t (*mm_camera_shim_send_cmd)(cam_shim_packet_t *event);
} mm_camera_shim_ops_t; } mm_camera_shim_ops_t;
int32_t (*mm_camera_shim_module_init)(mm_camera_shim_ops_t *shim_ops); extern int32_t (*mm_camera_shim_module_init)(mm_camera_shim_ops_t *shim_ops);
#endif /*__MM_CAMERA_SHIMLAYER_H_*/ #endif /*__MM_CAMERA_SHIMLAYER_H_*/

View file

@ -51,6 +51,8 @@
#include "mm_camera.h" #include "mm_camera.h"
#include "mm_camera_muxer.h" #include "mm_camera_muxer.h"
int32_t (*mm_camera_shim_module_init)(mm_camera_shim_ops_t *shim_ops);
static pthread_mutex_t g_intf_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t g_intf_lock = PTHREAD_MUTEX_INITIALIZER;
static mm_camera_ctrl_t g_cam_ctrl; static mm_camera_ctrl_t g_cam_ctrl;