[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMhs6YyvRwfkEubi_7BJvU6rvqw6hcboWtJTsJ2DGfrnzbhHcA@mail.gmail.com>
Date: Mon, 4 Mar 2013 13:21:06 +0100
From: "Maxin B. John" <maxin.john@...il.com>
To: djbw@...com, lars@...afoo.de
Cc: vinod.koul@...el.com, linux-kernel@...r.kernel.org,
"Maxin B. John" <maxin.john@...a.com>
Subject: Re: [PATCH] dma: timb_dma: Fix compiler warning
On Tue, Feb 19, 2013 at 9:33 PM, <maxin.john@...il.com> wrote:
> 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..26107ba 100644
> --- a/drivers/dma/timb_dma.c
> +++ b/drivers/dma/timb_dma.c
> @@ -823,7 +823,7 @@ static struct platform_driver td_driver = {
> .owner = THIS_MODULE,
> },
> .probe = td_probe,
> - .remove = __exit_p(td_remove),
> + .remove = td_remove,
> };
>
> module_platform_driver(td_driver);
> --
> 1.7.7
>
ping..
--
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