From af6c737807ac99aed804bb93a8f15e50fc321106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= Date: Tue, 18 Jun 2024 17:34:36 +0200 Subject: ddr: marvell: a38x: old: Fix some compiler warning of the old code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix some compilation warning in the old DDR training code. Signed-off-by: Marek BehĂșn --- drivers/ddr/marvell/a38x/old/ddr3_init.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/ddr/marvell/a38x/old/ddr3_init.h') diff --git a/drivers/ddr/marvell/a38x/old/ddr3_init.h b/drivers/ddr/marvell/a38x/old/ddr3_init.h index 8cb08864c29..ad95cc9ef8b 100644 --- a/drivers/ddr/marvell/a38x/old/ddr3_init.h +++ b/drivers/ddr/marvell/a38x/old/ddr3_init.h @@ -291,7 +291,9 @@ extern struct cl_val_per_freq cas_latency_table[]; extern u32 target_freq; extern struct hws_tip_config_func_db config_func_info[HWS_MAX_DEVICE_NUM]; extern u32 clamp_tbl[]; +#if 0 extern u32 init_freq; +#endif /* list of allowed frequency listed in order of enum hws_ddr_freq */ extern u32 freq_val[]; extern u8 debug_training_static; -- cgit v1.2.3