forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/media/i2c/jaguar1_drv/jaguar1_drv.c
....@@ -743,7 +743,7 @@
743743 if (!i2c_adap)
744744 return -EINVAL;
745745
746
- jaguar1_client = i2c_new_device(i2c_adap, &hi_info);
746
+ jaguar1_client = i2c_new_client_device(i2c_adap, &hi_info);
747747 i2c_put_adapter(i2c_adap);
748748
749749 return 0;