aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/Makefile
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-03-24 20:09:10 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-04-04 14:56:14 +0800
commit657096091353f3f11e2636b2ba0e5782450076a1 (patch)
tree3c1fff8103e1ce6b2f716290f7a176181e682680 /target/linux/ramips/Makefile
parentc24d6111f4c86c115d879b362e00554cc6f1b211 (diff)
downloadupstream-657096091353f3f11e2636b2ba0e5782450076a1.tar.gz
upstream-657096091353f3f11e2636b2ba0e5782450076a1.tar.bz2
upstream-657096091353f3f11e2636b2ba0e5782450076a1.zip
ramips: mt7621: introduce 'soc_device' initialization
mt7621 SoC has its own 'ralink_soc_info' structure with some information about the soc itself. Pcie controller and pcie phy drivers for this soc which are still in staging git tree make uses of 'soc_device_attribute' looking for revision 'E2' in order to know if reset lines are or not inverted. This way of doing things seems to be necessary in order to make things clean and properly. Hence, introduce this 'soc_device' to be able to properly use those attributes in drivers. Also set 'data' pointer points to the struct 'ralink_soc_info' to be able to export also current soc information using this mechanism. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/Makefile')
0 files changed, 0 insertions, 0 deletions