projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07f6ca
)
ata: Replace inclusion of kernel.h by bits.h in the header
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 9 Apr 2021 15:34:56 +0000
(18:34 +0300)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 17 May 2021 15:10:20 +0000
(09:10 -0600)
ata.h uses BIT() macro, hence bits.h must be included. Otherwise
there is no need to have kernel.h included, I do not see any
direct users of it in ata.h. Hence replace inclusion of kernel.h.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link:
https://lore.kernel.org/r/20210409153456.87798-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/ata.h
patch
|
blob
|
history
diff --git
a/include/linux/ata.h
b/include/linux/ata.h
index 6e67aded28f8ceb461480e46cfffc7f07e32ff0d..1b44f40c7700b463714e503dfc685f8b354a23bd 100644
(file)
--- a/
include/linux/ata.h
+++ b/
include/linux/ata.h
@@
-13,7
+13,7
@@
#ifndef __LINUX_ATA_H__
#define __LINUX_ATA_H__
-#include <linux/
kernel
.h>
+#include <linux/
bits
.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/byteorder.h>