From: Sebastian Andrzej Siewior Date: Tue, 13 Aug 2013 08:57:08 +0000 (+0200) Subject: usb: phy: am335x: include linux/err.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b841cb217fac676498de3dfe8fabe38b39cba4e;p=linux-beck.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- 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 #include +#include #include #include