starting from kernel 6.1 the function fwnode_get_named_gpiod can not be used anymore by kernel modules. So one has to switch to gpiod_get_from_of_node.
starting from kernel 6.1 the i2c_remove function signature changed from i2c_remove to i2c_remove leading to compiler errors (initializing the variable .remove of struct i2c_driver rx8130_driver with a function pointer of incompatible signature int (*)(struct i2c_client *)). Instead change function to static void rx8130_remove(struct i2c_client *client).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
fwnode_get_named_gpiod
can not be used anymore by kernel modules. So one has to switch togpiod_get_from_of_node
.i2c_remove
function signature changed from i2c_remove to i2c_remove leading to compiler errors (initializing the variable.remove
ofstruct i2c_driver rx8130_driver
with a function pointer of incompatible signatureint (*)(struct i2c_client *)
). Instead change function tostatic void rx8130_remove(struct i2c_client *client)
.Solves #466