diff options
| author | Clark Williams <[email protected]> | 2020-09-29 23:22:11 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-02 11:33:47 +0200 |
| commit | e1427f32b85010ca0c38104955e234ca89d4cee5 (patch) | |
| tree | 75a5f9271e6867a00c3498b1d82596aa2aff86c1 /include/linux | |
| parent | f38173a731cae380885e843dace21c8dc4198285 (diff) | |
bus: mhi: Remove include of rwlock_types.h
rwlock.h should not be included directly. Instead linux/splinlock.h
should be included. Including it directly will break the RT build.
Also there is no point in including _types.h headers directly. There is
no benefit in including the type without the accessor.
Fixes: 0cbf260820fa7 ("bus: mhi: core: Add support for registering MHI controllers")
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Clark Williams <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mhi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mhi.h b/include/linux/mhi.h index b2c0214bfbd6..008b8f6fa9ff 100644 --- a/include/linux/mhi.h +++ b/include/linux/mhi.h @@ -9,10 +9,9 @@ #include <linux/device.h> #include <linux/dma-direction.h> #include <linux/mutex.h> -#include <linux/rwlock_types.h> #include <linux/skbuff.h> #include <linux/slab.h> -#include <linux/spinlock_types.h> +#include <linux/spinlock.h> #include <linux/wait.h> #include <linux/workqueue.h> |