diff options
| author | Marek Vasut <[email protected]> | 2026-03-17 01:33:54 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2026-04-08 19:35:05 +0200 |
| commit | 2b6d6a5ffc91897f87b08d40ca6a38031b56e4a1 (patch) | |
| tree | 5ddeb0c107426add89432022b5be675a1d92fec5 /include | |
| parent | 4f376e6a00eb8c03bfa2a3dc667b07dff00ccb65 (diff) | |
ram: renesas: dbsc: Use macro in renesas_dbsc5_board_config channel count
Use DRAM_CH_CNT macro in renesas_dbsc5_board_config channel count.
The macro is defined in the same file a few lines above. This way,
the maximum channel count in the structure and the macro can not
diverge.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dbsc5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbsc5.h b/include/dbsc5.h index cec937d89e7..b9b8703141a 100644 --- a/include/dbsc5.h +++ b/include/dbsc5.h @@ -50,7 +50,7 @@ struct renesas_dbsc5_board_config { u8 bdcfg_dm_swap[SLICE_CNT]; /* SoC ckeX([1][0]) -> MEM csY */ u8 bdcfg_cs_swap; - } ch[4]; + } ch[DRAM_CH_CNT]; }; #endif /* __INCLUDE_DBSC5_H__ */ |
