Skip to content
Commit 790f3b60 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

dmaengine: idxd: use const struct bus_type *



In the functions unbind_store() and bind_store(), a struct bus_type *
should be a const one, as the driver core bus functions used by this
variable are expecting the pointer to be constant, and these functions
do not modify the pointer at all.

Cc: dmaengine@vger.kernel.org
Acked-by: default avatarVinod Koul <vkoul@kernel.org>
Acked-by: default avatarFenghua Yu <fenghua.yu@intel.com>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230313182918.1312597-32-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94a11504
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment