summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-designware-core.h
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2011-10-06 11:26:36 -0700
committerBen Dooks <ben-linux@fluff.org>2011-10-29 11:03:53 +0100
commit18dbdda89f5cf0540e577280395f16079308e87d (patch)
tree1d633ed3f2885b5b831f95762fc1d74fe2f6b388 /drivers/i2c/busses/i2c-designware-core.h
parentfe20ff5c7e9ca7f5369aacc7d7ca3efeda3b90fe (diff)
downloadtalos-op-linux-18dbdda89f5cf0540e577280395f16079308e87d.tar.gz
talos-op-linux-18dbdda89f5cf0540e577280395f16079308e87d.zip
i2c-designware: Add runtime power management support
Add runtime power management to the PCI driver. Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.h')
-rw-r--r--drivers/i2c/busses/i2c-designware-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.h b/drivers/i2c/busses/i2c-designware-core.h
index 601dd67a6c27..02d1a2ddd853 100644
--- a/drivers/i2c/busses/i2c-designware-core.h
+++ b/drivers/i2c/busses/i2c-designware-core.h
@@ -98,6 +98,7 @@ extern int i2c_dw_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
extern u32 i2c_dw_func(struct i2c_adapter *adap);
extern irqreturn_t i2c_dw_isr(int this_irq, void *dev_id);
extern void i2c_dw_enable(struct dw_i2c_dev *dev);
+extern u32 i2c_dw_is_enabled(struct dw_i2c_dev *dev);
extern void i2c_dw_disable(struct dw_i2c_dev *dev);
extern void i2c_dw_clear_int(struct dw_i2c_dev *dev);
extern void i2c_dw_disable_int(struct dw_i2c_dev *dev);
OpenPOWER on IntegriCloud