xen:events: move find_unbound_irq inside CONFIG_PCI_MSI
authorIan Campbell <ian.campbell@citrix.com>
Tue, 11 Jan 2011 17:20:14 +0000 (17:20 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 3 Mar 2011 16:56:58 +0000 (11:56 -0500)
commitcbf6aa89fc52c5253ee141d53eeb73147eb37ac0
tree95038da95dc29513a7727e33d0049a99f98febe7
parent3f2a230caf21a1f7ac75f9e4892d0e5af9ccee88
xen:events: move find_unbound_irq inside CONFIG_PCI_MSI

The only caller is xen_allocate_pirq_msi which is also under this
ifdef so this fixes:
    drivers/xen/events.c:377: warning: 'find_unbound_pirq' defined but not used
when CONFIG_PCI_MSI=n

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
drivers/xen/events.c