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

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/ps3: Mark ps3_setup_uhc_device() __init

ps3_setup_uhc_device() is only called from ps3_setup_ehci_device() and
ps3_setup_ohci_device(), which are both marked __init. Hence replace
the former's __ref marker by __init.

Note that before commit bd721ea73e1f9655 ("treewide: replace obsolete
_refok by __ref"), the function was marked __init_refok, which probably
should have been __init in the first place.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/31fe9435056fcfbf82c3a01693be278d5ce4ad0f.1730899557.git.geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Michael Ellerman
da6ffe85 2abbd6d5

+1 -1
+1 -1
arch/powerpc/platforms/ps3/device-init.c
··· 178 178 return result; 179 179 } 180 180 181 - static int __ref ps3_setup_uhc_device( 181 + static int __init ps3_setup_uhc_device( 182 182 const struct ps3_repository_device *repo, enum ps3_match_id match_id, 183 183 enum ps3_interrupt_type interrupt_type, enum ps3_reg_type reg_type) 184 184 {