Skip to content
Snippets Groups Projects
Commit 330dae19 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Benjamin Herrenschmidt
Browse files

mac: Make cuda_init_via() __init


cuda_init_via() is called from find_via_cuda() only, which is __init.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 061d19f2
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment