]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add method for getting of syscon handle from parent device.
authormmel <mmel@FreeBSD.org>
Sun, 18 Aug 2019 08:08:56 +0000 (08:08 +0000)
committermmel <mmel@FreeBSD.org>
Sun, 18 Aug 2019 08:08:56 +0000 (08:08 +0000)
commit786bc5a275ec263655a029e7a28da5e0c937a508
tree57bbd2e7d75bd6cdfd48ec37f7a81d171262da63
parenta458f8ab3c5cbec9b246db977b8188b291cbb80b
Add method for getting of syscon handle from parent device.

If simple multifuction device also provides syscon interface, its
childern should be able to consume it. Due to this:
- declare coresponding method in syscon interface
- implement it in simple multifunction device driver

MFC after: 1 week
sys/dev/extres/syscon/syscon.c
sys/dev/extres/syscon/syscon_if.m
sys/dev/fdt/simple_mfd.c