diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2019-11-06 23:38:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-07 09:35:48 +0100 |
commit | 261b3e1f2a01c72b1882cf5bccfbd4bf40ea62e8 (patch) | |
tree | 2a2f67dfcf0028582f3cdfbad95f96bcea93e154 /drivers/misc/mei/pci-me.c | |
parent | mei: me: mei_me_dev_init() use struct device instead of struct pci_dev. (diff) | |
download | linux-261b3e1f2a01c72b1882cf5bccfbd4bf40ea62e8.tar.xz linux-261b3e1f2a01c72b1882cf5bccfbd4bf40ea62e8.zip |
mei: me: store irq number in the hw struct.
Store irq number in hw struct to by used by synchronize_irq().
This is to allow working with mei devices
embedded within another pci devices, via MFD framework,
where mei device is represented as a platform device.
Bump the copyright year to 2019 on hw-me.c and hw-me.h
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191106223841.15802-3-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/pci-me.c')
-rw-r--r-- | drivers/misc/mei/pci-me.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index e382ecca96d7..6233b3ca1c1d 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c @@ -199,6 +199,7 @@ static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent) } hw = to_me_hw(dev); hw->mem_addr = pcim_iomap_table(pdev)[0]; + hw->irq = pdev->irq; pci_enable_msi(pdev); |