diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-05-13 02:30:53 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 01:16:38 +0400 |
commit | 8d929d4862fdfc4a524fd4c799b8dfa3b187fe8c (patch) | |
tree | 566696826999ee88f5901825803c6740d2c3180a /drivers/misc/mei/hw-txe.h | |
parent | c40765d919d25d2d44d99c4ce39e48808f137e1e (diff) | |
download | linux-8d929d4862fdfc4a524fd4c799b8dfa3b187fe8c.tar.xz |
mei: add per device configuration
Add mei_cfg structure that holds per device configuration
data and hooks, as the first step we add firmware
status register offsets
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw-txe.h')
-rw-r--r-- | drivers/misc/mei/hw-txe.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/misc/mei/hw-txe.h b/drivers/misc/mei/hw-txe.h index e8dd2d165c25..e244af79167f 100644 --- a/drivers/misc/mei/hw-txe.h +++ b/drivers/misc/mei/hw-txe.h @@ -61,7 +61,10 @@ static inline struct mei_device *hw_txe_to_mei(struct mei_txe_hw *hw) return container_of((void *)hw, struct mei_device, hw); } -struct mei_device *mei_txe_dev_init(struct pci_dev *pdev); +extern const struct mei_cfg mei_txe_cfg; + +struct mei_device *mei_txe_dev_init(struct pci_dev *pdev, + const struct mei_cfg *cfg); irqreturn_t mei_txe_irq_quick_handler(int irq, void *dev_id); irqreturn_t mei_txe_irq_thread_handler(int irq, void *dev_id); |