diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-19 11:46:56 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-02-22 13:59:31 +0000 |
| commit | 1e0a2852a134833f6827de15cd62ea0ed19f1b60 (patch) | |
| tree | 971179e917360dcc25cf26b68a74e89ec19a48ca /drivers/fpga/ts73xx-fpga.c | |
| parent | dt-bindings: renesas,rcar-dmac: Add r8a779h0 support (diff) | |
| download | kernel-1e0a2852a134833f6827de15cd62ea0ed19f1b60.tar.gz kernel-1e0a2852a134833f6827de15cd62ea0ed19f1b60.zip | |
dmaengine: idxd: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the
dsa_device_type, iax_device_type, idxd_wq_device_type, idxd_cdev_file_type,
idxd_cdev_device_type and idxd_group_device_type variables to be constant
structures as well, placing it into read-only memory which can not be
modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: "Ricardo B. Marliere" <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions
