summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-06-28 06:23:12 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-26 15:34:25 +0200
commit3327e58a04501e06aa531cdb4044aab214a6254a (patch)
treeccf511fdc427faa4837630298fd16c7b0de40c8b
parentmacintosh/via-macii: Use the stack for reset request storage (diff)
downloadlinux-3327e58a04501e06aa531cdb4044aab214a6254a.tar.xz
linux-3327e58a04501e06aa531cdb4044aab214a6254a.zip
macintosh/via-macii: Clarify definition of macii_init()
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
-rw-r--r--drivers/macintosh/via-macii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-macii.c b/drivers/macintosh/via-macii.c
index 2f9be4ec7d34..060e03f2264b 100644
--- 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;