From: Clark Williams Date: Tue, 15 Sep 2020 07:48:16 +0000 (+0200) Subject: bus: mhi: Remove include of rwlock_types.h X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ebbc5eba7beb9c260e4277f8e44c7f17fa45d5f4;p=users%2Fhch%2Fblock.git 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") Signed-off-by: Clark Williams Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam --- 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 #include #include -#include #include #include -#include +#include #include #include