diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2023-02-27 13:58:06 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-03-14 19:13:51 +0300 |
commit | 83552892b772dfc4639a4f2da075bbb5d605b788 (patch) | |
tree | a09ddfe3398afd1eaf30cc4475e430e5e8e3a197 /arch/mips/ralink/Kconfig | |
parent | 727ea3c77dd9b94d994708a148b82df76a47fa79 (diff) | |
download | linux-83552892b772dfc4639a4f2da075bbb5d605b788.tar.xz |
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 <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/ralink/Kconfig')
-rw-r--r-- | arch/mips/ralink/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig index e8b8fb35d33d..08c012a2591f 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig @@ -44,6 +44,7 @@ choice bool "MT7620/8" select CPU_MIPSR2_IRQ_VI select HAVE_PCI + select SOC_BUS config SOC_MT7621 bool "MT7621" |