kernel/drivers/edac/ti_edac.c
.. .. @@ -1,6 +1,6 @@ 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/3 + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/4 4 * 5 5 * Texas Instruments DDR3 ECC error correction and detection driver 6 6 * .. .. @@ -135,7 +135,7 @@ 135 135 u32 val; 136 136 u32 memsize; 137 137 138 - dimm = EDAC_DIMM_PTR(mci->layers, mci->dimms, mci->n_layers, 0, 0, 0);138 + dimm = edac_get_dimm(mci, 0, 0, 0);139 139 140 140 val = ti_edac_readl(edac, EMIF_SDRAM_CONFIG); 141 141