aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2023-02-27 11:58:06 +0100
committerThomas Bogendoerfer <[email protected]>2023-03-14 17:13:51 +0100
commit83552892b772dfc4639a4f2da075bbb5d605b788 (patch)
treea09ddfe3398afd1eaf30cc4475e430e5e8e3a197 /rust/helpers/helpers.c
parent727ea3c77dd9b94d994708a148b82df76a47fa79 (diff)
mips: ralink: mt7620: introduce 'soc_device' initialization
MT7620 SoCs have their own 'ralink_soc_info' structure with some information about the soc itself. In order to be able to retrieve this information from driver code and avoid architecture dependencies for retrieving these details introduce this 'soc_device'. Set 'data' pointer points to the struct 'ralink_soc_info' to be able to export also current soc information using this mechanism. We need to select 'SOC_BUS' in Kconfig configuration for these SoCs. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions