[PATCH master 1/7] ddr: imx8m: align function definition with prototype

Sascha Hauer sha at pengutronix.de
Tue Jun 6 02:35:02 PDT 2023


On Mon, Jun 05, 2023 at 08:29:33AM +0200, Ahmad Fatoum wrote:
> The values of enum dram_type and enum ddrc_type are defined, so they
> don't overlap, which allows ddr_cfg_phy() to accept them OR-d.
> 
> It's thus wrong to use only one enum of them in the prototype, so adjust
> it with the definition.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  include/soc/imx8m/ddr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list