On Wed, Dec 27, 2023 at 12:39:44PM +0800, Hans Hu wrote: > Some common initialization actions are put in the function > wmt_i2c_init(), which is convenient to share with zhaoxin. > > Signed-off-by: Hans Hu <hanshu-oc@xxxxxxxxxxx> I get a build error: CC drivers/i2c/busses/i2c-wmt.o drivers/i2c/busses/i2c-wmt.c:289:5: error: no previous prototype for ‘wmt_i2c_init’ [-Werror=missing-prototypes] 289 | int wmt_i2c_init(struct platform_device *pdev, struct wmt_i2c_dev **pi2c_dev) | ^~~~~~~~~~~~
Attachment:
signature.asc
Description: PGP signature