[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1361217546-3116-1-git-send-email-maxin.john@gmail.com>
Date: Mon, 18 Feb 2013 21:59:06 +0200
From: maxin.john@...il.com
To: djbw@...com, vinod.koul@...el.com
Cc: geert@...ux-m68k.org, linux-kernel@...r.kernel.org,
"Maxin B. John" <maxin.john@...a.com>
Subject: [PATCH] dma: timb_dma: Fix compiler warning
From: "Maxin B. John" <maxin.john@...a.com>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]
Signed-off-by: Maxin B. John <maxin.john@...a.com>
---
drivers/dma/timb_dma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 952f823..f709279 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -798,7 +798,7 @@ err_release_region:
}
-static int td_remove(struct platform_device *pdev)
+static int __exit td_remove(struct platform_device *pdev)
{
struct timb_dma *td = platform_get_drvdata(pdev);
struct resource *iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists