• Alan Tull's avatar
    fpga: bridge: support getting bridge from device · 9c1c4b27
    Alan Tull authored
    Add two functions for getting the FPGA bridge from the device
    rather than device tree node.  This is to enable writing code
    that will support using FPGA bridges without device tree.
    Rename one old function to make it clear that it is device
    tree-ish.  This leaves us with 3 functions for getting a bridge:
    
    * fpga_bridge_get
      Get the bridge given the device.
    
    * fpga_bridges_get_to_list
      Given the device, get the bridge and add it to a list.
    
    * of_fpga_bridges_get_to_list
      Renamed from priviously existing fpga_bridges_get_to_list.
      Given the device node, get the bridge and add it to a list.
    Signed-off-by: default avatarAlan Tull <atull@kernel.org>
    Acked-by: default avatarMoritz Fischer <mdf@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    9c1c4b27
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...