diff options
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index c625800c55ca..fb85e8d466cc 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -243,7 +243,7 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | |||
243 | } | 243 | } |
244 | 244 | ||
245 | /* Function to enable the hardware */ | 245 | /* Function to enable the hardware */ |
246 | void __init iommu_enable(struct amd_iommu *iommu) | 246 | static void __init iommu_enable(struct amd_iommu *iommu) |
247 | { | 247 | { |
248 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU " | 248 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU " |
249 | "at %02x:%02x.%x cap 0x%hx\n", | 249 | "at %02x:%02x.%x cap 0x%hx\n", |
@@ -256,7 +256,7 @@ void __init iommu_enable(struct amd_iommu *iommu) | |||
256 | } | 256 | } |
257 | 257 | ||
258 | /* Function to enable IOMMU event logging and event interrupts */ | 258 | /* Function to enable IOMMU event logging and event interrupts */ |
259 | void __init iommu_enable_event_logging(struct amd_iommu *iommu) | 259 | static void __init iommu_enable_event_logging(struct amd_iommu *iommu) |
260 | { | 260 | { |
261 | iommu_feature_enable(iommu, CONTROL_EVT_LOG_EN); | 261 | iommu_feature_enable(iommu, CONTROL_EVT_LOG_EN); |
262 | iommu_feature_enable(iommu, CONTROL_EVT_INT_EN); | 262 | iommu_feature_enable(iommu, CONTROL_EVT_INT_EN); |