diff mbox

[RFC,v4,1/8] usb: pd: include kernel.h

Message ID 20180608112941.26332-2-heikki.krogerus@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Heikki Krogerus June 8, 2018, 11:29 a.m. UTC
Some of the macros use le16_to_cpu().

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 include/linux/usb/pd.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Greg KH June 11, 2018, 7:08 a.m. UTC | #1
On Fri, Jun 08, 2018 at 02:29:34PM +0300, Heikki Krogerus wrote:
> Some of the macros use le16_to_cpu().

What macros?

Is this causing build errors today?  If so, why should it not be
included now?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Heikki Krogerus June 11, 2018, 8:51 a.m. UTC | #2
On Mon, Jun 11, 2018 at 09:08:59AM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jun 08, 2018 at 02:29:34PM +0300, Heikki Krogerus wrote:
> > Some of the macros use le16_to_cpu().
> 
> What macros?
> 
> Is this causing build errors today?  If so, why should it not be
> included now?

There are no build errors today.

I'll write a better commit message for this patch. I think I need to
improve the commit messages of some of the other patches in this
series as well.


Thanks,
diff mbox

Patch

diff --git a/include/linux/usb/pd.h b/include/linux/usb/pd.h
index 09b570feb297..f2162e0fe531 100644
--- a/include/linux/usb/pd.h
+++ b/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>