From: maxin.john@gmail.com
To: djbw@fb.com, vinod.koul@intel.com
Cc: geert@linux-m68k.org, linux-kernel@vger.kernel.org,
"Maxin B. John" <maxin.john@enea.com>
Subject: [PATCH] dma: timb_dma: Fix compiler warning
Date: Mon, 18 Feb 2013 21:59:06 +0200 [thread overview]
Message-ID: <1361217546-3116-1-git-send-email-maxin.john@gmail.com> (raw)
From: "Maxin B. John" <maxin.john@enea.com>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]
Signed-off-by: Maxin B. John <maxin.john@enea.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
next reply other threads:[~2013-02-19 1:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 19:59 maxin.john [this message]
2013-02-19 11:36 ` [PATCH] dma: timb_dma: Fix compiler warning Lars-Peter Clausen
2013-02-19 12:44 ` Maxin B. John
-- strict thread matches above, loose matches on Subject: below --
2013-02-19 20:33 maxin.john
2013-03-04 12:21 ` Maxin B. John
2013-03-04 13:56 ` Vinod Koul
2013-03-21 5:21 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361217546-3116-1-git-send-email-maxin.john@gmail.com \
--to=maxin.john@gmail.com \
--cc=djbw@fb.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxin.john@enea.com \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox