summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/i5k_amb.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-12-10 23:18:55 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-12-16 22:16:38 +0100
commit013bd8e543c2c777b586cf033c588ea82bd502db (patch)
treef6177388fe82c29084b7319f24818bc704f86d5d /drivers/hwmon/i5k_amb.c
parent34fff62827b254f8a43633cc878deb04bf11297c (diff)
downloadlinux-013bd8e543c2c777b586cf033c588ea82bd502db.tar.gz
linux-013bd8e543c2c777b586cf033c588ea82bd502db.tar.bz2
linux-013bd8e543c2c777b586cf033c588ea82bd502db.zip
device: Add device:: Msi_data pointer and struct msi_device_data
Create struct msi_device_data and add a pointer of that type to struct dev_msi_info, which is part of struct device. Provide an allocator function which can be invoked from the MSI interrupt allocation code pathes. Add a properties field to the data structure as a first member so the allocation size is not zero bytes. The field will be uses later on. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Nishanth Menon <nm@ti.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20211210221813.676660809@linutronix.de
Diffstat (limited to 'drivers/hwmon/i5k_amb.c')
0 files changed, 0 insertions, 0 deletions