CC drivers/misc/oplus_motor/camera_motor_ic/oneplus_drv8834.o
In file included from ../drivers/media/platform/msm/camera/cam_core/cam_context.c:17:
../drivers/media/platform/msm/camera/cam_core/cam_context.h:117:11: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd cmd);
^
../drivers/media/platform/msm/camera/cam_core/cam_context.h:462:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd cmd);
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:528:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd cmd)
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:527:5: error: conflicting types for 'cam_context_handle_dump_dev'
int cam_context_handle_dump_dev(struct cam_context ctx,
^
../drivers/media/platform/msm/camera/cam_core/cam_context.h:461:5: note: previous declaration is here
int cam_context_handle_dump_dev(struct cam_context ctx,
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:545:9: error: incompatible pointer types passing 'struct cam_dump_req_cmd ' to parameter of type 'struct cam_dump_req_cmd *' [-Werror,-Wincompatible-pointer-types]
ctx, cmd);
^~~
3 warnings and 2 errors generated.
CC drivers/misc/oplus_motor/camera_motor_ic/oneplus_drv8834.o In file included from ../drivers/media/platform/msm/camera/cam_core/cam_context.c:17: ../drivers/media/platform/msm/camera/cam_core/cam_context.h:117:11: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility] struct cam_dump_req_cmd cmd); ^ ../drivers/media/platform/msm/camera/cam_core/cam_context.h:462:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility] struct cam_dump_req_cmd cmd); ^ ../drivers/media/platform/msm/camera/cam_core/cam_context.c:528:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility] struct cam_dump_req_cmd cmd) ^ ../drivers/media/platform/msm/camera/cam_core/cam_context.c:527:5: error: conflicting types for 'cam_context_handle_dump_dev' int cam_context_handle_dump_dev(struct cam_context ctx, ^ ../drivers/media/platform/msm/camera/cam_core/cam_context.h:461:5: note: previous declaration is here int cam_context_handle_dump_dev(struct cam_context ctx, ^ ../drivers/media/platform/msm/camera/cam_core/cam_context.c:545:9: error: incompatible pointer types passing 'struct cam_dump_req_cmd ' to parameter of type 'struct cam_dump_req_cmd *' [-Werror,-Wincompatible-pointer-types] ctx, cmd); ^~~ 3 warnings and 2 errors generated.