瀏覽代碼

usb: phy: am335x: include linux/err.h

Stephen Rothwell reported that this driver does not compile on PowerPC
due to this missing include. One could argue why this driver is enabled
on PowerPC in the first place but it sure isn't wrong to include headers
for used function instead of to rely that they sneak in.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Sebastian Andrzej Siewior 12 年之前
父節點
當前提交
8b841cb217
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/phy/phy-am335x-control.c

+ 1 - 0
drivers/usb/phy/phy-am335x-control.c

@@ -1,5 +1,6 @@
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
+#include <linux/err.h>
 #include <linux/of.h>
 #include <linux/of.h>
 #include <linux/io.h>
 #include <linux/io.h>