mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
iommu/amd: Move iommu_init_pci() to .init section
The function is only called from another __init function, so it should be moved to .init too. Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
parent
17b57b1883
commit
24d2c52174
1 changed files with 1 additions and 1 deletions
|
|
@ -1709,7 +1709,7 @@ static const struct attribute_group *amd_iommu_groups[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
static int iommu_init_pci(struct amd_iommu *iommu)
|
||||
static int __init iommu_init_pci(struct amd_iommu *iommu)
|
||||
{
|
||||
int cap_ptr = iommu->cap_ptr;
|
||||
u32 range, misc, low, high;
|
||||
|
|
|
|||
Loading…
Reference in a new issue