diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-12-05 22:16:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-08 19:18:58 +0300 |
commit | 56fb8d90031f71fa8af48fdff8498b9263b9c759 (patch) | |
tree | b968afeb9de4d3fcd9689bf79c760c389aebce7f | |
parent | c1f480b2d092960ecf8bb0bd1f27982c33ada42a (diff) | |
download | linux-56fb8d90031f71fa8af48fdff8498b9263b9c759.tar.xz |
block: sed-opal: Don't include <linux/kernel.h>
There is no need to include <linux/kernel.h> here.
Prefer the less invasive <linux/types.h> and <linux/compiler_types.h>
which are needed in this .h file itself.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/c1d479b39e30fe70c4579a1af035d4db49421f56.1670069909.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | include/linux/sed-opal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sed-opal.h b/include/linux/sed-opal.h index 6f837bb6c715..31ac562a17d7 100644 --- a/include/linux/sed-opal.h +++ b/include/linux/sed-opal.h @@ -11,7 +11,8 @@ #define LINUX_OPAL_H #include <uapi/linux/sed-opal.h> -#include <linux/kernel.h> +#include <linux/compiler_types.h> +#include <linux/types.h> struct opal_dev; |