diff options
| author | Anatolij Gustschin <[email protected]> | 2018-11-26 11:35:28 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-11-26 20:12:05 +0100 |
| commit | 1a195d87d2c58aa9524af9531539ccfa203cd52c (patch) | |
| tree | 21cae2d4de4ac35614ff93c4003bde1be0e1922b /tools/perf/scripts/python/netdev-times.py | |
| parent | 30522a951f9d02f261d0697c35cb42205b1fae17 (diff) | |
fpga: mgr: altera-ps-spi: enable usage on non-dt platforms
Driver probing fails on non-dt platforms since of_match_device()
always returns NULL here. Add spi ids with device names and
matching driver data as an index of a map array with data for
supported devices. Add this map array and a function for mapping
spi ids to driver data. This allows driver binding to dynamically
added PS-SPI devices (e.g. when added via spi_new_device() after
hot-plugging).
Signed-off-by: Anatolij Gustschin <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions