diff options
author | 2023-03-13 19:29:16 +0100 | |
---|---|---|
committer | 2023-03-23 13:21:54 +0100 | |
commit | b18d0a0f92a8fe9e56d812808184c8c4b9f18f92 (patch) | |
tree | cf261d8f973b64816b8edeb67f3e3dd376491523 /include/linux/usb/serial.h | |
parent | ARM/dma-mapping: const a pointer to bus_type in arm_iommu_create_mapping() (diff) | |
download | wireguard-linux-b18d0a0f92a8fe9e56d812808184c8c4b9f18f92.tar.xz wireguard-linux-b18d0a0f92a8fe9e56d812808184c8c4b9f18f92.zip |
iommu: make the pointer to struct bus_type constant
A number of iommu functions take a struct bus_type * and never modify
the data passed in, so make them all const * as that is what the driver
core is expecting to have passed into as well.
This is a step toward making all struct bus_type pointers constant in
the kernel.
Cc: Will Deacon <will@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: iommu@lists.linux.dev
Acked-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20230313182918.1312597-34-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions