m: camera: sensor: Fix the sensor code for missing symbol
Fix the sensor code failure for i3cdev_to_dev API which is missing the symbol in the kernel allow list. CRs-Fixed: 3200508 Change-Id: I99f1ae98e322ae4116cccb9cc7ba42fcc7b8a89a Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com> Signed-off-by: Depeng Shao <quic_depengs@quicinc.com> Signed-off-by: Abhijit Trivedi <quic_abhijitt@quicinc.com>
This commit is contained in:
@@ -367,7 +367,8 @@ void cam_compat_util_put_dmabuf_va(struct dma_buf *dmabuf, void *vaddr)
|
||||
|
||||
void cam_sensor_i3c_driver_remove(struct i3c_device *client)
|
||||
{
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s", dev_name(i3cdev_to_dev(client)));
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s",
|
||||
(client ? dev_name(&client->dev) : "none"));
|
||||
}
|
||||
|
||||
#else
|
||||
@@ -411,7 +412,8 @@ void cam_compat_util_put_dmabuf_va(struct dma_buf *dmabuf, void *vaddr)
|
||||
|
||||
int cam_sensor_i3c_driver_remove(struct i3c_device *client)
|
||||
{
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s", dev_name(i3cdev_to_dev(client)));
|
||||
CAM_DBG(CAM_SENSOR, "I3C remove invoked for %s",
|
||||
(client ? dev_name(&client->dev) : "none"));
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user