dma: timb_dma: Fix compiler warning
PATCH 1/1 dma: timb_dma: Fix compiler warning
From: "Maxin B. John" <[email protected]>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]
Signed-off-by Maxin B. John <[email protected]>
--- drivers/dma/timb_dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/dma/timb_dma.c +1 -1
@@ -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);
Signature · 1 line
1.7.7
Quoted 24 lines · On Tue, Feb 19, 2013 at 9:33 PM, <[email protected]> wrote:
From: "Maxin B. John" <[email protected]>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]Signed-off-by Maxin B. John <[email protected]>--- drivers/dma/timb_dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/dma/timb_dma.c +1
-2@@ -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); --
Quoted 2 lines
1.7.7
ping..
Quoted 6 lines · On Tue, Feb 19, 2013 at 10:33:53PM +0200, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]Signed-off-by Maxin B. John <[email protected]>
Applied thanks
Quoted 20 lines
--- drivers/dma/timb_dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/dma/timb_dma.c +1
-1@@ -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);Signature · 1 line
1.7.7
Vinod Koul
AppliedQuoted 6 lines · On Tue, Feb 19, 2013 at 10:33:53PM +0200, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fix this compiler warning:
warning: 'td_remove' defined but not used [-Wunused-function]Signed-off-by Maxin B. John <[email protected]>
Applied, thanks
Quoted 20 lines
--- drivers/dma/timb_dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/dma/timb_dma.c +1
-1@@ -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);Signature · 1 line
1.7.7