diff options
author | Stepan Moskovchenko <stepanm@codeaurora.org> | 2010-11-12 22:29:53 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-11-30 17:03:36 -0500 |
commit | 516cbc793eb4be5123289d067b54dfcdabeddb25 (patch) | |
tree | e2c970c0b16c9a80a2b542446cdc9e5a850eb672 /arch/arm/mach-msm | |
parent | e8952e3b32701817705b216b492a9be4fa5cbefc (diff) |
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')
-rw-r--r-- | arch/arm/mach-msm/devices-msm8x60-iommu.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-msm/iommu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-msm/iommu_dev.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-msm/devices-msm8x60-iommu.c b/arch/arm/mach-msm/devices-msm8x60-iommu.c index a6ecd39ae069..f9e7bd34ec59 100644 --- a/arch/arm/mach-msm/devices-msm8x60-iommu.c +++ b/arch/arm/mach-msm/devices-msm8x60-iommu.c | |||
@@ -826,7 +826,7 @@ static struct msm_iommu_ctx_dev *msm_iommu_ctx_data[] = { | |||
826 | &gfx2d1_2d1_ctx, | 826 | &gfx2d1_2d1_ctx, |
827 | }; | 827 | }; |
828 | 828 | ||
829 | static int msm8x60_iommu_init(void) | 829 | static int __init msm8x60_iommu_init(void) |
830 | { | 830 | { |
831 | int ret, i; | 831 | int ret, i; |
832 | 832 | ||
@@ -886,7 +886,7 @@ failure: | |||
886 | return ret; | 886 | return ret; |
887 | } | 887 | } |
888 | 888 | ||
889 | static void msm8x60_iommu_exit(void) | 889 | static void __exit msm8x60_iommu_exit(void) |
890 | { | 890 | { |
891 | int i; | 891 | int i; |
892 | 892 | ||
diff --git a/arch/arm/mach-msm/iommu.c b/arch/arm/mach-msm/iommu.c index f71747db3bee..134add789187 100644 --- a/arch/arm/mach-msm/iommu.c +++ b/arch/arm/mach-msm/iommu.c | |||
@@ -585,7 +585,7 @@ static struct iommu_ops msm_iommu_ops = { | |||
585 | .domain_has_cap = msm_iommu_domain_has_cap | 585 | .domain_has_cap = msm_iommu_domain_has_cap |
586 | }; | 586 | }; |
587 | 587 | ||
588 | static int msm_iommu_init(void) | 588 | static int __init msm_iommu_init(void) |
589 | { | 589 | { |
590 | register_iommu(&msm_iommu_ops); | 590 | register_iommu(&msm_iommu_ops); |
591 | return 0; | 591 | return 0; |
diff --git a/arch/arm/mach-msm/iommu_dev.c b/arch/arm/mach-msm/iommu_dev.c index 9019cee2907b..b83c73b41fd1 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 = { | |||
346 | .remove = msm_iommu_ctx_remove, | 346 | .remove = msm_iommu_ctx_remove, |
347 | }; | 347 | }; |
348 | 348 | ||
349 | static int msm_iommu_driver_init(void) | 349 | static int __init msm_iommu_driver_init(void) |
350 | { | 350 | { |
351 | int ret; | 351 | int ret; |
352 | ret = platform_driver_register(&msm_iommu_driver); | 352 | ret = platform_driver_register(&msm_iommu_driver); |
@@ -365,7 +365,7 @@ error: | |||
365 | return ret; | 365 | return ret; |
366 | } | 366 | } |
367 | 367 | ||
368 | static void msm_iommu_driver_exit(void) | 368 | static void __exit msm_iommu_driver_exit(void) |
369 | { | 369 | { |
370 | platform_driver_unregister(&msm_iommu_ctx_driver); | 370 | platform_driver_unregister(&msm_iommu_ctx_driver); |
371 | platform_driver_unregister(&msm_iommu_driver); | 371 | platform_driver_unregister(&msm_iommu_driver); |