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.
Unified · Split
| @@ -11,7 +11,8 @@ · 10 unmodified lines | ||
| 11 | 11 | #define LINUX_OPAL_H |
| 12 | 12 | |
| 13 | 13 | #include <uapi/linux/sed-opal.h> |
| 14 | −#include <linux/kernel.h> | |
| 14 | +#include <linux/compiler_types.h> | |
| 15 | +#include <linux/types.h> | |
| 15 | 16 | |
| 16 | 17 | struct opal_dev; |
| 17 | 18 | |