From dd38374d2f1d89fb34d4c544f558537db1966a33 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 16 Feb 2017 15:59:32 +0900 Subject: ARM: uniphier: remove dram_nr_ch from board parameters This parameter is redundant because we can know the number of channels by checking if dram_ch[2].size is zero. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/init.h | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/arm/mach-uniphier/init.h') diff --git a/arch/arm/mach-uniphier/init.h b/arch/arm/mach-uniphier/init.h index 6691d446c6..be0ad6c374 100644 --- a/arch/arm/mach-uniphier/init.h +++ b/arch/arm/mach-uniphier/init.h @@ -19,7 +19,6 @@ struct uniphier_dram_ch { struct uniphier_board_data { unsigned int dram_freq; - unsigned int dram_nr_ch; struct uniphier_dram_ch dram_ch[UNIPHIER_MAX_NR_DRAM_CH]; unsigned int flags; -- cgit