aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2020-02-07 15:13:59 +0000
committerGreg Kroah-Hartman <[email protected]>2020-02-10 10:25:06 -0800
commit9bfd8bc5e8bfabdc20eb9b528192f018498cf3db (patch)
tree2b816b04d1b3669884500e4405d9832f6f2d348f /tools/perf/scripts/python
parente3b7ce73c578b77b592bd3f2da71b90f2c581c87 (diff)
staging: comedi: ni_mio_common: Allow alternate board name for routes
We do not have or do not provide routing information for all supported boards. Some of the boards for which we do not provide routing information actually have routes that are identical to a similar board for which we already provide routing information. To allow boards to share identical routing information, add an `alt_route_name` member to `struct ni_board_struct`. This will be initialized to `NULL` for all boards except those that will use make use of the identical routing information that has been provided for a similar board, in which case it will name that board. Pass the `alt_route_name` member value to `ni_assign_device_routes()` as the `alt_board_name` parameter, which it will use if no routing information could be found for the actual board name. Cc: Éric Piel <[email protected]> Cc: Spencer E. Olson <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions