]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit564cade08bd6efeb3d7020c2fb920951a14dc8d1
tree8a687a54f12b1e566017f83edb0d129396f14183
parent05a720635d838960b25761cb77d0e54f7e35219b
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