diff options
author | Moritz Fischer <mdf@kernel.org> | 2019-02-07 09:52:10 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 18:11:58 -0800 |
commit | 71bd106d2567675668e253cba3960e3c4bf2e80e (patch) | |
tree | e8f34fc458693dd53076ee2993ddb0402966ef0e /tools/lib/bpf/libbpf.c | |
parent | a4751093a26c6bbdff86c113e7f76cf4eaf22210 (diff) | |
download | linux-71bd106d2567675668e253cba3960e3c4bf2e80e.tar.bz2 |
net: fixed-phy: Add fixed_phy_register_with_gpiod() API
Add fixed_phy_register_with_gpiod() API. It lets users create a
fixed_phy instance that uses a GPIO descriptor which was obtained
externally e.g. through platform data.
This enables platform devices (non-DT based) to use GPIOs for link
status.
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions