aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/abx500/ab8500.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/abx500/ab8500.h')
-rw-r--r--include/linux/mfd/abx500/ab8500.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h
index 78ed95bb47c3..3b551a1783ac 100644
--- a/include/linux/mfd/abx500/ab8500.h
+++ b/include/linux/mfd/abx500/ab8500.h
@@ -217,6 +217,7 @@ enum ab8500_version {
217 * @version: chip version id (e.g. ab8500 or ab9540) 217 * @version: chip version id (e.g. ab8500 or ab9540)
218 * @chip_id: chip revision id 218 * @chip_id: chip revision id
219 * @write: register write 219 * @write: register write
220 * @write_masked: masked register write
220 * @read: register read 221 * @read: register read
221 * @rx_buf: rx buf for SPI 222 * @rx_buf: rx buf for SPI
222 * @tx_buf: tx buf for SPI 223 * @tx_buf: tx buf for SPI
@@ -236,8 +237,9 @@ struct ab8500 {
236 enum ab8500_version version; 237 enum ab8500_version version;
237 u8 chip_id; 238 u8 chip_id;
238 239
239 int (*write) (struct ab8500 *a8500, u16 addr, u8 data); 240 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data);
240 int (*read) (struct ab8500 *a8500, u16 addr); 241 int (*write_masked)(struct ab8500 *ab8500, u16 addr, u8 mask, u8 data);
242 int (*read)(struct ab8500 *ab8500, u16 addr);
241 243
242 unsigned long tx_buf[4]; 244 unsigned long tx_buf[4];
243 unsigned long rx_buf[4]; 245 unsigned long rx_buf[4];