aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 15:28:27 -0300
committerMathieu Poirier <[email protected]>2024-03-26 11:25:13 -0600
commit193d0c4e1e42517958b6510687fbd9a92165aa0d (patch)
tree550f26eeee688c510372aa50f768658f0f166ccb /drivers/pwm/pwm-stm32.c
parent4cece764965020c22cff7665b18a012006359095 (diff)
rpmsg: core: Make rpmsg_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the rpmsg_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions