diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-11 15:01:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-13 16:43:54 +0200 |
commit | f6e98ef5f78a106821d451f9783dd96ba8551cb3 (patch) | |
tree | 21bdd382da44677f1f47dec91e3c7b94dc283bcc /rust/helpers.c | |
parent | 33ebea9bc0a36f62590d37d0a3c859759181573e (diff) |
driver core: make driver_detach() take a const *
driver_detach() does not modify the driver itself, so make the pointer
constant. In doing so, the function driver_allows_async_probing() also
needs to be changed so that the pointer type passes through to that
function properly.
Cc: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20240611130103.3262749-11-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions