summaryrefslogtreecommitdiffstats
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 19:18:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 15:16:39 +0100
commitcf41015ea8d3f2ae451d9b7e39ef42569caeb875 (patch)
treebc38701346e5e6c1582a805e20bcfee240a7527b /include/linux/console_struct.h
parent69df024ebbf8b1d4d8f0808b5700688fed9e45e9 (diff)
downloadlinux-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