msm: iommu: Mark functions with the right section names
authorStepan Moskovchenko <stepanm@codeaurora.org>
Sat, 13 Nov 2010 03:29:53 +0000 (19:29 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Tue, 30 Nov 2010 22:03:36 +0000 (14:03 -0800)
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>
arch/arm/mach-msm/devices-msm8x60-iommu.c
arch/arm/mach-msm/iommu.c
arch/arm/mach-msm/iommu_dev.c

index a6ecd39ae0699130c2df69c70d31a84f533a6ab2..f9e7bd34ec59b49dad6481f6c1477f3de482bdfe 100644 (file)
@@ -826,7 +826,7 @@ static struct msm_iommu_ctx_dev *msm_iommu_ctx_data[] = {
        &gfx2d1_2d1_ctx,
 };
 
-static int msm8x60_iommu_init(void)
+static int __init msm8x60_iommu_init(void)
 {
        int ret, i;
 
@@ -886,7 +886,7 @@ failure:
        return ret;
 }
 
-static void msm8x60_iommu_exit(void)
+static void __exit msm8x60_iommu_exit(void)
 {
        int i;
 
index f71747db3beed3fccb5db1bb47559f950d5d6a00..134add789187ed399dc910e3414480c506419fa0 100644 (file)
@@ -585,7 +585,7 @@ static struct iommu_ops msm_iommu_ops = {
        .domain_has_cap = msm_iommu_domain_has_cap
 };
 
-static int msm_iommu_init(void)
+static int __init msm_iommu_init(void)
 {
        register_iommu(&msm_iommu_ops);
        return 0;
index 9019cee2907b2a24e833dd3f40ce7da14662eecc..b83c73b41fd101ba397adf7418858b08d8de8c5f 100644 (file)
@@ -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);
This page took 0.028504 seconds and 5 git commands to generate.