Skip to content

Commit

Permalink
include/linux/iopoll.h: include <linux/ktime.h> instead of <linux/hrt…
Browse files Browse the repository at this point in the history
…imer.h>

The timer APIs this header needs are ktime_get(), ktime_add_us(), and
ktime_compare().  So, including <linux/ktime.h> seems enough.  This
commit will cut unnecessary header file parsing.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
masahir0y authored and torvalds committed Feb 25, 2017
1 parent 1ca5eeb commit 16f4e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/iopoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/io.h>
Expand Down

0 comments on commit 16f4e31

Please sign in to comment.