Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Benjamin Herrenschmidt
330dae19 061d19f2

+1 -1
+1 -1
drivers/macintosh/via-cuda.c
··· 259 259 } while (0) 260 260 261 261 static int 262 - cuda_init_via(void) 262 + __init cuda_init_via(void) 263 263 { 264 264 out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */ 265 265 out_8(&via[B], in_8(&via[B]) | TACK | TIP); /* negate them */