summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorGerard Snitselaar <dev@snitselaar.org>2012-03-16 11:38:22 -0700
committerJoerg Roedel <joro@8bytes.org>2012-03-22 19:28:14 +0100
commitae295142d2d3989e49c6425c90d2593732a068a1 (patch)
tree55062211fd06e8c6124eeaa6b05b3b3b88523ab9 /drivers/iommu
parent3d9761e7a55b429ccee305a53669577b9cc20dac (diff)
downloadop-kernel-dev-ae295142d2d3989e49c6425c90d2593732a068a1.zip
op-kernel-dev-ae295142d2d3989e49c6425c90d2593732a068a1.tar.gz
iommu/amd: Fix section mismatch
amd_iommu_enable_interrupts() called in amd_iommu_resume(). Signed-off-by: Gerard Snitselaar <dev@snitselaar.org> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index 8b026bf..a051f9a8 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -196,7 +196,7 @@ static u32 rlookup_table_size; /* size if the rlookup table */
*/
extern void iommu_flush_all_caches(struct amd_iommu *iommu);
-static int __init amd_iommu_enable_interrupts(void);
+static int amd_iommu_enable_interrupts(void);
static inline void update_last_devid(u16 devid)
{
@@ -1598,7 +1598,7 @@ free:
return ret;
}
-static int __init amd_iommu_enable_interrupts(void)
+static int amd_iommu_enable_interrupts(void)
{
struct amd_iommu *iommu;
int ret = 0;
OpenPOWER on IntegriCloud