mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
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 bd721ea73e ("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
This commit is contained in:
parent
2abbd6d5fb
commit
da6ffe855b
|
|
@ -178,7 +178,7 @@ static int __init ps3_setup_gelic_device(
|
|||
return result;
|
||||
}
|
||||
|
||||
static int __ref ps3_setup_uhc_device(
|
||||
static int __init ps3_setup_uhc_device(
|
||||
const struct ps3_repository_device *repo, enum ps3_match_id match_id,
|
||||
enum ps3_interrupt_type interrupt_type, enum ps3_reg_type reg_type)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user