Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Heikki Krogerus and committed by
Greg Kroah-Hartman
82f5d774 990da415

+1
+1
include/linux/usb/pd.h
··· 15 15 #ifndef __LINUX_USB_PD_H 16 16 #define __LINUX_USB_PD_H 17 17 18 + #include <linux/kernel.h> 18 19 #include <linux/types.h> 19 20 #include <linux/usb/typec.h> 20 21