diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-13 21:29:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-23 15:21:42 +0300 |
commit | 790f3b60ac78efb339c7ef2f4d2dba63c804110a (patch) | |
tree | 92c3e1723f2a8b0b340c4d800402159909aa561c /drivers/dma/ste_dma40_ll.c | |
parent | 94a1150421940ff2e8113b5fa6837774777d5b3d (diff) | |
download | linux-790f3b60ac78efb339c7ef2f4d2dba63c804110a.tar.xz |
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: Vinod Koul <vkoul@kernel.org>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230313182918.1312597-32-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.c')
0 files changed, 0 insertions, 0 deletions