projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
046ace8
)
macintosh/via-macii: Clarify definition of macii_init()
author
Finn Thain
<fthain@telegraphics.com.au>
Sun, 28 Jun 2020 04:23:12 +0000
(14:23 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:25 +0000
(23:34 +1000)
The function prototype correctly specifies the 'static' storage class.
Let the function definition match the declaration for better readability.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/c025aed0b1506399b73ff1d1bfa40ed641fcb3e3.1593318192.git.fthain@telegraphics.com.au
drivers/macintosh/via-macii.c
patch
|
blob
|
history
diff --git
a/drivers/macintosh/via-macii.c
b/drivers/macintosh/via-macii.c
index 2f9be4ec7d3455f061b2ea6f86ffc6fdf38d9623..060e03f2264bc58e514fef8680d93c0efb240a95 100644
(file)
--- a/
drivers/macintosh/via-macii.c
+++ b/
drivers/macintosh/via-macii.c
@@
-140,7
+140,7
@@
static int macii_probe(void)
}
/* Initialize the driver */
-int macii_init(void)
+
static
int macii_init(void)
{
unsigned long flags;
int err;