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

powerpc/85xx: Fix function naming for p1023_rdb platform

p1023_rdb platform is a copy of mpc85xx_rdb platform and some of its
functions have kept mpc85xx_rdb names.

Rename the said functions.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/6cb9865d916231c38401ba34ad1a98c249fae135.1676711562.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
5a81c02d f47b17d5

+4 -4
+4 -4
arch/powerpc/platforms/85xx/p1023_rdb.c
··· 37 37 * Setup the architecture 38 38 * 39 39 */ 40 - static void __init mpc85xx_rdb_setup_arch(void) 40 + static void __init p1023_rdb_setup_arch(void) 41 41 { 42 42 struct device_node *np; 43 43 ··· 83 83 84 84 machine_arch_initcall(p1023_rdb, mpc85xx_common_publish_devices); 85 85 86 - static void __init mpc85xx_rdb_pic_init(void) 86 + static void __init p1023_rdb_pic_init(void) 87 87 { 88 88 struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | 89 89 MPIC_SINGLE_DEST_CPU, ··· 97 97 define_machine(p1023_rdb) { 98 98 .name = "P1023 RDB", 99 99 .compatible = "fsl,P1023RDB", 100 - .setup_arch = mpc85xx_rdb_setup_arch, 101 - .init_IRQ = mpc85xx_rdb_pic_init, 100 + .setup_arch = p1023_rdb_setup_arch, 101 + .init_IRQ = p1023_rdb_pic_init, 102 102 .get_irq = mpic_get_irq, 103 103 .calibrate_decr = generic_calibrate_decr, 104 104 .progress = udbg_progress,