From dfa145436ae9190668ec8faea0fd3622fab6e390 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Fri, 2 Jul 2010 12:20:51 -0700 Subject: [PATCH] [ARM] tegra: stingray: nv: Remove section mismatch warnings Signed-off-by: Dmitry Shmidt --- arch/arm/mach-tegra/nv/iovmm-gart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-tegra/nv/iovmm-gart.c b/arch/arm/mach-tegra/nv/iovmm-gart.c index 97a010046001..3cd0b1c90909 100644 --- a/arch/arm/mach-tegra/nv/iovmm-gart.c +++ b/arch/arm/mach-tegra/nv/iovmm-gart.c @@ -66,8 +66,8 @@ static void gart_map_pfn(struct tegra_iovmm_device *, static struct tegra_iovmm_domain *gart_alloc_domain( struct tegra_iovmm_device *, struct tegra_iovmm_client *); -static int __init gart_probe(struct platform_device *); -static int __devexit gart_remove(struct platform_device *); +static int gart_probe(struct platform_device *); +static int gart_remove(struct platform_device *); static int gart_suspend(struct platform_device *, pm_message_t); static int gart_resume(struct platform_device *); @@ -140,7 +140,7 @@ static int gart_resume(struct platform_device *pdev) return 0; } -static int __devexit gart_remove(struct platform_device *pdev) +static int gart_remove(struct platform_device *pdev) { struct gart_device *gart = platform_get_drvdata(pdev); @@ -163,7 +163,7 @@ static int __devexit gart_remove(struct platform_device *pdev) return 0; } -static int __init gart_probe(struct platform_device *pdev) +static int gart_probe(struct platform_device *pdev) { struct gart_device *gart = NULL; struct resource *res, *res_remap; -- 2.34.1