浏览代码

usb: pd: include kernel.h

This makes life a bit easier for the drivers that include
pd.h. All pd_header_*_le() inline functions defined in pd.h
call le16_to_cpu(), and all *_LE() macros in pd.h call
cpu_to_le16().

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Heikki Krogerus 7 年之前
父节点
当前提交
82f5d7749f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/usb/pd.h

+ 1 - 0
include/linux/usb/pd.h

@@ -15,6 +15,7 @@
 #ifndef __LINUX_USB_PD_H
 #define __LINUX_USB_PD_H
 
+#include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/usb/typec.h>