projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2fb0ce
)
sparc: tcx.c make tcx_init and tcx_exit static
author
Robert Reif
<reif@earthlink.net>
Sun, 27 Apr 2008 22:18:12 +0000
(15:18 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 27 Apr 2008 22:18:12 +0000
(15:18 -0700)
Make tcx_init and tcx_exit static.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/tcx.c
patch
|
blob
|
history
diff --git
a/drivers/video/tcx.c
b/drivers/video/tcx.c
index fd94dfbab44bdbf65505bd93c841a08017f85981..7dc33bfe2cb2b4167a5f4dd2006f9573e6008818 100644
(file)
--- a/
drivers/video/tcx.c
+++ b/
drivers/video/tcx.c
@@
-527,7
+527,7
@@
static struct of_platform_driver tcx_driver = {
.remove = __devexit_p(tcx_remove),
};
-int __init tcx_init(void)
+
static
int __init tcx_init(void)
{
if (fb_get_options("tcxfb", NULL))
return -ENODEV;
@@
-535,7
+535,7
@@
int __init tcx_init(void)
return of_register_driver(&tcx_driver, &of_bus_type);
}
-void __exit tcx_exit(void)
+
static
void __exit tcx_exit(void)
{
of_unregister_driver(&tcx_driver);
}