aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/iommu_dev.c
diff options
context:
space:
mode:
authorStepan Moskovchenko <stepanm@codeaurora.org>2010-11-12 19:29:53 -0800
committerDaniel Walker <dwalker@codeaurora.org>2010-11-30 14:03:36 -0800
commit516cbc793eb4be5123289d067b54dfcdabeddb25 (patch)
treee2c970c0b16c9a80a2b542446cdc9e5a850eb672 /arch/arm/mach-msm/iommu_dev.c
parente8952e3b32701817705b216b492a9be4fa5cbefc (diff)
downloadkernel_samsung_smdk4412-516cbc793eb4be5123289d067b54dfcdabeddb25.zip
kernel_samsung_smdk4412-516cbc793eb4be5123289d067b54dfcdabeddb25.tar.gz
kernel_samsung_smdk4412-516cbc793eb4be5123289d067b54dfcdabeddb25.tar.bz2
msm: iommu: Mark functions with the right section names
Mark the init and exit functions as __init and __exit where appropriate. Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/iommu_dev.c')
-rw-r--r--arch/arm/mach-msm/iommu_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/iommu_dev.c b/arch/arm/mach-msm/iommu_dev.c
index 9019cee..b83c73b 100644
--- a/arch/arm/mach-msm/iommu_dev.c
+++ b/arch/arm/mach-msm/iommu_dev.c
@@ -346,7 +346,7 @@ static struct platform_driver msm_iommu_ctx_driver = {
.remove = msm_iommu_ctx_remove,
};
-static int msm_iommu_driver_init(void)
+static int __init msm_iommu_driver_init(void)
{
int ret;
ret = platform_driver_register(&msm_iommu_driver);
@@ -365,7 +365,7 @@ error:
return ret;
}
-static void msm_iommu_driver_exit(void)
+static void __exit msm_iommu_driver_exit(void)
{
platform_driver_unregister(&msm_iommu_ctx_driver);
platform_driver_unregister(&msm_iommu_driver);