genirq/msi: Check for invalid MSI parent domain usage
[linux-2.6-block.git] / include / linux / msi_api.h
CommitLineData
6b6941f6
TG
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef LINUX_MSI_API_H
3#define LINUX_MSI_API_H
4
5/*
6 * APIs which are relevant for device driver code for allocating and
7 * freeing MSI interrupts and querying the associations between
8 * hardware/software MSI indices and the Linux interrupt number.
9 */
10
11struct device;
12
13unsigned int msi_get_virq(struct device *dev, unsigned int index);
14
15#endif