diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-07-09 16:00:36 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-22 18:37:42 +0200 |
commit | c179c9b978b90bdf9cb39f5b5716dede157f1eaf (patch) | |
tree | 747a85c02a9fd9c4ac9cb33608af8c3f88e2476c /samples/kobject/kobject-example.c | |
parent | faca10b9e63e880c81388fbbedf7ede6dcd77c70 (diff) |
PCI: Add helper function msi_desc_to_pci_sysdata()
Add helper function msi_desc_to_pci_sysdata() to retrieve sysdata from
an MSI descriptor. To avoid pulling include/linux/pci.h into
include/linux/msi.h, msi_desc_to_pci_sysdata() is implemented as a normal
function instead of an inline function.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Reviewed-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Stuart Yoder <stuart.yoder@freescale.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Alexander Gordeev <agordeev@redhat.com>
Link: http://lkml.kernel.org/r/1436428847-8886-2-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'samples/kobject/kobject-example.c')
0 files changed, 0 insertions, 0 deletions