Home
last modified time | relevance | path

Searched hist:"43 a7206b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/device/
H A Dclass.h43a7206b Sun Apr 02 12:58:47 CDT 2023 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>
/openbmc/linux/drivers/base/
H A Dclass.c43a7206b Sun Apr 02 12:58:47 CDT 2023 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>
H A Dbase.h43a7206b Sun Apr 02 12:58:47 CDT 2023 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>