summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-cuda.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-06-30 12:03:23 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-01 03:10:36 +0200
commit330dae19998072e97f550885a0087df6d6556816 (patch)
tree5e37829fa815589b89aac1f52f21e24ff60a174f /drivers/macintosh/via-cuda.c
parentpowerpc: Delete __cpuinit usage from all users (diff)
downloadlinux-330dae19998072e97f550885a0087df6d6556816.tar.xz
linux-330dae19998072e97f550885a0087df6d6556816.zip
mac: Make cuda_init_via() __init
cuda_init_via() is called from find_via_cuda() only, which is __init. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/via-cuda.c')
-rw-r--r--drivers/macintosh/via-cuda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-cuda.c b/drivers/macintosh/via-cuda.c
index 86511c570dd8..d61f271d2207 100644
--- a/drivers/macintosh/via-cuda.c
+++ b/drivers/macintosh/via-cuda.c
@@ -259,7 +259,7 @@ cuda_probe(void)
} while (0)
static int
-cuda_init_via(void)
+__init cuda_init_via(void)
{
out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */
out_8(&via[B], in_8(&via[B]) | TACK | TIP); /* negate them */