diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-01-09 08:58:55 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-01-15 18:04:03 -0500 |
commit | 6c92204e446694306198c7c394f3692bde46b696 (patch) | |
tree | 4b9610bc0347d16be7b09cf5c6d021c5e5fb034a | |
parent | 766a4f27f328979c10efd7272b05261166296435 (diff) |
i2c: add identifier in declarations for i2c_bus_recovery
No reason to have them undefined, so let's add them.
Tested-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | include/linux/i2c.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index f8a9d81e911e..fd87b806b5f1 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -559,14 +559,14 @@ struct i2c_timings { | |||
559 | * @sda_gpiod: gpiod of the SDA line. Only required for GPIO recovery. | 559 | * @sda_gpiod: gpiod of the SDA line. Only required for GPIO recovery. |
560 | */ | 560 | */ |
561 | struct i2c_bus_recovery_info { | 561 | struct i2c_bus_recovery_info { |
562 | int (*recover_bus)(struct i2c_adapter *); | 562 | int (*recover_bus)(struct i2c_adapter *adap); |
563 | 563 | ||
564 | int (*get_scl)(struct i2c_adapter *); | 564 | int (*get_scl)(struct i2c_adapter *adap); |
565 | void (*set_scl)(struct i2c_adapter *, int val); | 565 | void (*set_scl)(struct i2c_adapter *adap, int val); |
566 | int (*get_sda)(struct i2c_adapter *); | 566 | int (*get_sda)(struct i2c_adapter *adap); |
567 | 567 | ||
568 | void (*prepare_recovery)(struct i2c_adapter *); | 568 | void (*prepare_recovery)(struct i2c_adapter *adap); |
569 | void (*unprepare_recovery)(struct i2c_adapter *); | 569 | void (*unprepare_recovery)(struct i2c_adapter *adap); |
570 | 570 | ||
571 | /* gpio recovery */ | 571 | /* gpio recovery */ |
572 | struct gpio_desc *scl_gpiod; | 572 | struct gpio_desc *scl_gpiod; |