Skip to contentSkip to conversation

iommu/msm: Fix compile error in mach-msm/devices-iommu.c

PATCH In review Joerg Roedel 2 participants 3 messages Dec 6, 2011 – Dec 7, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/msm: Fix compile error in mach-msm/devices-iommu.c

Hi,

I just added a patch to my iommu/fixes branch to fix a compile error with IOMMU enabled. If there is another fix for this already somewhere please let me know the commit-id so that I can add it to my out-of-tree branch. If there is no other fix yet I will push this upstream soon with the next round of iommu-fixes.

Thanks,

Joerg

Quoted 1 line

From 96f176a310e447966e45112fe4511b9d9fa0caf4 Mon Sep 17 00:00:00 2001

From: Joerg Roedel <[email protected]>
Date: Tue, 6 Dec 2011 11:17:34 +0100
Subject: [PATCH] iommu/msm: Fix compile error in mach-msm/devices-iommu.c

Fix compile error due to missing <linux/module.h> include.

---
 arch/arm/mach-msm/devices-iommu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-msm/devices-iommu.c +1 -0
index 24030d0..0fb7a17 100644
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 #include <linux/bootmem.h>
+#include <linux/module.h>
 #include <mach/irqs.h>
 #include <mach/iommu.h>
 
Signature · 8 lines
1.7.5.4

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632
#1 lore raw
Quoted 5 lines · Joerg Roedel

I just added a patch to my iommu/fixes branch to fix a compile error with IOMMU enabled. If there is another fix for this already somewhere please let me know the commit-id so that I can add it to my out-of-tree branch. If there is no other fix yet I will push this upstream soon with the next round of iommu-fixes.

You can go ahead and push this fix through your tree. I'll enable the iommu in my defconfigs so that I start catching things like this as well.

David

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw
Quoted 11 lines · David Brown
Quoted 5 lines · Joerg Roedel

I just added a patch to my iommu/fixes branch to fix a compile error with IOMMU enabled. If there is another fix for this already somewhere please let me know the commit-id so that I can add it to my out-of-tree branch. If there is no other fix yet I will push this upstream soon with the next round of iommu-fixes.

You can go ahead and push this fix through your tree. I'll enable the iommu in my defconfigs so that I start catching things like this as well.

Great, Thanks.

Signature · 5 lines
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632