diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-02 19:58:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-03 21:42:48 +0200 |
commit | 6b0d49be81cf4f1cf30ebd079cbf4643cab0a01d (patch) | |
tree | f25a0714288c2a60e838c8afaa248e79ecc8014a /drivers/rapidio | |
parent | 43a7206b0963c2153c95d6985624d1dc1b3abd4d (diff) | |
download | lwn-6b0d49be81cf4f1cf30ebd079cbf4643cab0a01d.tar.gz lwn-6b0d49be81cf4f1cf30ebd079cbf4643cab0a01d.zip |
driver core: class: mark the struct class in struct class_interface constant
The struct class pointer in struct class_interface is never modified, so
mark it as const so that no one accidentally tries to modify it in the
future.
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/2023040249-handball-gruffly-5da7@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions