Commit 8512b411 authored by Paul Walmsley's avatar Paul Walmsley Committed by Tony Lindgren

OMAP2xxx EAC: fix sparse warnings

This patch resolves the following two sparse warnings:

sound/arm/omap/eac.c:788:12: warning: symbol 'eac_init' was not declared. Should it be static?
sound/arm/omap/eac.c:793:13: warning: symbol 'eac_exit' was not declared. Should it be static?
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 3a02c1ae
...@@ -787,12 +787,12 @@ static struct platform_driver eac_driver = { ...@@ -787,12 +787,12 @@ static struct platform_driver eac_driver = {
.remove = eac_remove, .remove = eac_remove,
}; };
int __init eac_init(void) static int __init eac_init(void)
{ {
return platform_driver_register(&eac_driver); return platform_driver_register(&eac_driver);
} }
void __exit eac_exit(void) static void __exit eac_exit(void)
{ {
platform_driver_unregister(&eac_driver); platform_driver_unregister(&eac_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment