The dt match table needs end up with null. CRs-Fixed: 2730795 Change-Id: I75bdf20d74d9a83d9a0de28a2ad4d95412a51f0c Signed-off-by: Depeng Shao <[email protected]>
@@ -73,6 +73,7 @@ static const struct of_device_id msm_cam_hw_cdm_dt_match[] = {
.compatible = CAM_HW_CDM_IFE_NAME_2_1,
.data = &cam_cdm_2_1_reg_offset,
},
+ {}
};
static enum cam_cdm_id cam_hw_cdm_get_id_by_name(char *name)