aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2023-02-27 11:58:03 +0100
committerThomas Bogendoerfer <[email protected]>2023-03-14 17:13:51 +0100
commit7a26b384c44cfa9ea65799dc375619c96608ecad (patch)
tree1b213994975d9b17a07d20ecaf7e338160d25ed8 /rust/helpers/helpers.c
parent5a5aa151bdccea934d4a84086661538b60a09a42 (diff)
mips: ralink: rt288x: introduce 'soc_device' initialization
RT288X 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