
26 Nov
2024
26 Nov
'24
11:50 a.m.
+Fabio
On Mon, Nov 25, 2024 at 05:49:10PM +0000, Vitor Soares wrote:
From: Vitor Soares vitor.soares@toradex.com
The module pid4 currently corresponds to the index of the toradex_module array. If a new pid4 is introduced that does not follow the sequence of the previous entries, it will create a gap in the array.
To address this, embed pid4 within the toradex_som structure and implement a function to retrieve the index corresponding to pid4.
Signed-off-by: Vitor Soares vitor.soares@toradex.com
Acked-by: Francesco Dolcini francesco.dolcini@toradex.com
Francesco