sparc: move MSI related definitions to where they are used
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Jul 2018 11:53:04 +0000 (13:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 20:00:56 +0000 (13:00 -0700)
commitf0afc6b18d3953fb96f836e4d1483eb9855a36b0
tree8a687a54f12b1e566017f83edb0d129396f14183
parent6f57ed681ed817a4ec444e83f3aa2ad695d5ef34
sparc: move MSI related definitions to where they are used

The definitions in arch/sparc/include/asm/msi.h are only used in
arch/sparc/mm/srmmu.c, so it makes sense to have them in the C file
directly.

In addition, having a custom arch/sparc/include/asm/msi.h prevents
from using the asm-generic version of this header, which is necessary
to be able to include <linux/msi.h> when CONFIG_GENERIC_MSI_IRQ_DOMAIN
is enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/msi.h [deleted file]
arch/sparc/mm/srmmu.c