提交 56fb8d90 编写于 作者: C Christophe JAILLET 提交者: Jens Axboe

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: NChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/c1d479b39e30fe70c4579a1af035d4db49421f56.1670069909.git.christophe.jaillet@wanadoo.frSigned-off-by: NJens Axboe <axboe@kernel.dk>
上级 c1f480b2
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
#define LINUX_OPAL_H #define LINUX_OPAL_H
#include <uapi/linux/sed-opal.h> #include <uapi/linux/sed-opal.h>
#include <linux/kernel.h> #include <linux/compiler_types.h>
#include <linux/types.h>
struct opal_dev; struct opal_dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册