diff options
author | Stepan Moskovchenko <stepanm@codeaurora.org> | 2010-11-13 06:29:53 +0300 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-12-01 01:03:36 +0300 |
commit | 516cbc793eb4be5123289d067b54dfcdabeddb25 (patch) | |
tree | e2c970c0b16c9a80a2b542446cdc9e5a850eb672 /arch/arm/mach-msm/iommu_dev.c | |
parent | e8952e3b32701817705b216b492a9be4fa5cbefc (diff) | |
download | linux-516cbc793eb4be5123289d067b54dfcdabeddb25.tar.xz |
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.c | 4 |
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 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 = { .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); |