diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-13 19:18:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 15:16:39 +0100 |
commit | cf41015ea8d3f2ae451d9b7e39ef42569caeb875 (patch) | |
tree | bc38701346e5e6c1582a805e20bcfee240a7527b /include/linux/console_struct.h | |
parent | 69df024ebbf8b1d4d8f0808b5700688fed9e45e9 (diff) | |
download | linux-stable-cf41015ea8d3f2ae451d9b7e39ef42569caeb875.tar.gz linux-stable-cf41015ea8d3f2ae451d9b7e39ef42569caeb875.tar.bz2 linux-stable-cf41015ea8d3f2ae451d9b7e39ef42569caeb875.zip |
driver core: class: make class_find_device*() options const
The class_find_device*() functions do not modify the struct class or the
struct device passed into it, so mark them as const * to enforce that.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230313181843.1207845-7-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions