summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-08 10:15:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-10 09:46:02 +0200
commit67c1ba551eed771d18c48b7bf7e97379ad8f616d (patch)
treefd2390787a2b58593cb35c2a413a29fe8c42d3ea /README
parentf8fb469147e7db57e3f78d46f3f427705b4a1935 (diff)
downloadlinux-67c1ba551eed771d18c48b7bf7e97379ad8f616d.tar.gz
linux-67c1ba551eed771d18c48b7bf7e97379ad8f616d.tar.bz2
linux-67c1ba551eed771d18c48b7bf7e97379ad8f616d.zip
driver core: module: make module_[add|remove]_driver take a const *
The functions module_add_driver() and module_remove_driver() do not modify the struct device_driver structure directly, so they are safe to be marked as a constant pointer type. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/2024070850-entering-grandson-205e@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions