diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-08-13 10:57:08 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-13 14:59:13 -0500 |
commit | 8b841cb217fac676498de3dfe8fabe38b39cba4e (patch) | |
tree | d63c60a36a69749177552fedf0c4fb5b57db9a0c /drivers/usb/phy/phy-am335x-control.c | |
parent | 13266fea59f6f55e98d61e66707d784b9e947c84 (diff) | |
download | talos-op-linux-8b841cb217fac676498de3dfe8fabe38b39cba4e.tar.gz talos-op-linux-8b841cb217fac676498de3dfe8fabe38b39cba4e.zip |
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>
Diffstat (limited to 'drivers/usb/phy/phy-am335x-control.c')
-rw-r--r-- | drivers/usb/phy/phy-am335x-control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-am335x-control.c b/drivers/usb/phy/phy-am335x-control.c index 35494f1c33b6..759754521426 100644 --- a/drivers/usb/phy/phy-am335x-control.c +++ b/drivers/usb/phy/phy-am335x-control.c @@ -1,5 +1,6 @@ #include <linux/module.h> #include <linux/platform_device.h> +#include <linux/err.h> #include <linux/of.h> #include <linux/io.h> |