diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-30 07:08:07 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-08-11 19:14:04 +0200 |
commit | 044cd3a574be5cd97ab80d0c6d06f5fab327541d (patch) | |
tree | 8780ad5134089df0ddb997903ae8ea483048208b /drivers/hwmon/pmbus/pmbus.h | |
parent | Linux 3.1-rc1 (diff) | |
download | linux-044cd3a574be5cd97ab80d0c6d06f5fab327541d.tar.xz linux-044cd3a574be5cd97ab80d0c6d06f5fab327541d.zip |
hwmon: (pmbus) Virtualize pmbus_write_byte
With virtual pages and to be able to handle more chips, it is necessary to
virtualise pmbus_write_byte().
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus.h')
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/pmbus.h b/drivers/hwmon/pmbus/pmbus.h index 0808d986d75b..a6ae20ffef6b 100644 --- a/drivers/hwmon/pmbus/pmbus.h +++ b/drivers/hwmon/pmbus/pmbus.h @@ -325,6 +325,7 @@ struct pmbus_driver_info { int (*read_word_data)(struct i2c_client *client, int page, int reg); int (*write_word_data)(struct i2c_client *client, int page, int reg, u16 word); + int (*write_byte)(struct i2c_client *client, int page, u8 value); /* * The identify function determines supported PMBus functionality. * This function is only necessary if a chip driver supports multiple |