Skip to content

Commit 82f5d77

Browse files
Heikki Krogerusgregkh
authored andcommitted
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>
1 parent 990da41 commit 82f5d77

File tree

1 file changed

+1
-0
lines changed
  • include/linux/usb

1 file changed

+1
-0
lines changed

include/linux/usb/pd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef __LINUX_USB_PD_H
1616
#define __LINUX_USB_PD_H
1717

18+
#include <linux/kernel.h>
1819
#include <linux/types.h>
1920
#include <linux/usb/typec.h>
2021

0 commit comments

Comments
 (0)