diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-21 10:23:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 10:55:19 +0300 |
commit | 3d24903a6dd27ab817b4c6c24bee245ff06f7c8e (patch) | |
tree | c33e0cf9a080dad4d87b433394e081236ca4d763 /drivers/base/property.c | |
parent | 33a0a1e3b3d17445832177981dc7a1c6a5b009f8 (diff) | |
download | linux-3d24903a6dd27ab817b4c6c24bee245ff06f7c8e.tar.xz |
kobject: make get_ktype() take a const pointer
get_ktype() does not modify the structure passed to it, so mark the
parameter as being const to allow other const structures to be passed to
it in the future.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20221021072310.3931690-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/property.c')
0 files changed, 0 insertions, 0 deletions