diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-04 20:32:05 +0000 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2024-02-05 20:43:22 +0000 |
| commit | b03aa6d4e9a74c4289929b6cf3c6bcc80270682d (patch) | |
| tree | 8712ddbc09269e15a9832c91c516be6d9087e533 /drivers/clocksource/timer-stm32-lp.c | |
| parent | rpmsg: Remove usage of the deprecated ida_simple_xx() API (diff) | |
| download | kernel-b03aa6d4e9a74c4289929b6cf3c6bcc80270682d.tar.gz kernel-b03aa6d4e9a74c4289929b6cf3c6bcc80270682d.zip | |
rpmsg: core: Make rpmsg_bus const
Now that the driver core can properly handle constant struct bus_type,
move the rpmsg_bus variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions
