lkml.org 
[lkml]   [2023]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 09/17] powerpc/85xx: Remove #ifdef CONFIG_QUICC_ENGINE in mpc85xx_rdb
    Date
    mpc85xx_qe_par_io_init() is a stub when CONFIG_QUICC_ENGINE is not set.

    CONFIG_UCC_GETH and CONFIG_SERIAL_QE depend on CONFIG_QUICC_ENGINE.

    Remove #ifdef CONFIG_QUICC_ENGINE

    Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
    ---
    arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c
    index 8b0d81f0e1c9..b23f826339b5 100644
    --- a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c
    +++ b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c
    @@ -57,7 +57,6 @@ static void __init mpc85xx_rdb_setup_arch(void)

    fsl_pci_assign_primary();

    -#ifdef CONFIG_QUICC_ENGINE
    mpc85xx_qe_par_io_init();
    #if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE)
    if (machine_is(p1025_rdb)) {
    @@ -90,7 +89,6 @@ static void __init mpc85xx_rdb_setup_arch(void)

    }
    #endif
    -#endif /* CONFIG_QUICC_ENGINE */

    pr_info("MPC85xx RDB board from Freescale Semiconductor\n");
    }
    --
    2.39.1
    \
     
     \ /
      Last update: 2023-03-27 00:32    [W:3.834 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site