mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
061d19f279
commit
330dae1999
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue