xen/pt: Make xen_pt_msi_set_enable static
As we do not use it outside our code. Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
d3b9facba7
commit
cf8124f007
@ -293,7 +293,6 @@ static inline uint8_t xen_pt_pci_intx(XenPCIPassthroughState *s)
|
||||
}
|
||||
|
||||
/* MSI/MSI-X */
|
||||
int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool en);
|
||||
int xen_pt_msi_setup(XenPCIPassthroughState *s);
|
||||
int xen_pt_msi_update(XenPCIPassthroughState *d);
|
||||
void xen_pt_msi_disable(XenPCIPassthroughState *s);
|
||||
|
@ -220,7 +220,7 @@ static int msi_msix_disable(XenPCIPassthroughState *s,
|
||||
* MSI virtualization functions
|
||||
*/
|
||||
|
||||
int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable)
|
||||
static int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable)
|
||||
{
|
||||
XEN_PT_LOG(&s->dev, "%s MSI.\n", enable ? "enabling" : "disabling");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user