diff options
author | 2024-12-24 21:05:02 +0800 | |
---|---|---|
committer | 2025-01-03 11:19:35 +0100 | |
commit | e9451ab968bb34f2b37fdd91c376d5f36c4745ee (patch) | |
tree | 955bbc283d00de28b8be94e9a771266c0273dd2f /rust/kernel | |
parent | slimbus: core: Constify slim_eaddr_equal() (diff) | |
download | wireguard-linux-e9451ab968bb34f2b37fdd91c376d5f36c4745ee.tar.xz wireguard-linux-e9451ab968bb34f2b37fdd91c376d5f36c4745ee.zip |
bus: fsl-mc: Constify fsl_mc_device_match()
fsl_mc_device_match() does not modify caller's inputs.
To prepare for constifying API device_find_child() later.
Constify this comparison function by simply changing its
parameter types to const pointer.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241224-const_dfc_done-v5-3-6623037414d4@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions