OSDN Git Service

iommu/amd: Move iommu_init_pci() to .init section
authorJoerg Roedel <jroedel@suse.de>
Fri, 5 Oct 2018 10:32:46 +0000 (12:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:51:51 +0000 (10:51 +0200)
commit5f35f44a3700e8946a40b4541044b5a2fbc874b5
treec77d5d462a8ef162ff86acbfb6d82bf862e34f66
parent79ab4c1ffc3f43681493d003a0abd45c593c07c0
iommu/amd: Move iommu_init_pci() to .init section

commit 24d2c521749d8547765b555b7a85cca179bb2275 upstream.

The function is only called from another __init function, so
it should be moved to .init too.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/amd_iommu_init.c