diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-02 19:58:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-03 21:42:46 +0200 |
commit | 43a7206b0963c2153c95d6985624d1dc1b3abd4d (patch) | |
tree | 60bcb1a3443249326a550c1fcf54ea7685c7ff01 /fs/adfs/dir.c | |
parent | 979207cac517833c828133ffb2633bcdf6edce00 (diff) |
driver core: class: make class_register() take a const *
Now that the class code is cleaned up to not modify the class pointer
registered with it, change class_register() to take a const * to allow
the structure to be placed into read-only memory.
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/2023040248-customary-release-4aec@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/adfs/dir.c')
0 files changed, 0 insertions, 0 deletions