No reason to have them undefined, so let's add them. Cc: Phil Reid <pr...@electromag.com.au> Cc: Andy Shevchenko <andriy.shevche...@linux.intel.com> Cc: Jarkko Nikula <jarkko.nik...@linux.intel.com> Cc: Claudio Foellmi <claudio.foel...@ergon.ch> Cc: Andrzej Hajda <a.ha...@samsung.com> Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> --- include/linux/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index f8a9d81e911e52..8a020617b4e780 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -561,9 +561,9 @@ struct i2c_timings { struct i2c_bus_recovery_info { int (*recover_bus)(struct i2c_adapter *); - int (*get_scl)(struct i2c_adapter *); - void (*set_scl)(struct i2c_adapter *, int val); - int (*get_sda)(struct i2c_adapter *); + int (*get_scl)(struct i2c_adapter *adap); + void (*set_scl)(struct i2c_adapter *adap, int val); + int (*get_sda)(struct i2c_adapter *adap); void (*prepare_recovery)(struct i2c_adapter *); void (*unprepare_recovery)(struct i2c_adapter *); -- 2.11.0