summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-atmel.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-03-27 20:23:31 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-04 20:35:43 +0400
commit9475375a5eb2ab9380e644d45173f67cbca0da80 (patch)
tree09a1d1bf6202a2f78c383f975459919428f631cb /drivers/usb/host/ehci-atmel.c
parentc16524e6a957bc96ed02738d5396d355c0027d00 (diff)
downloadlinux-9475375a5eb2ab9380e644d45173f67cbca0da80.tar.xz
USB: ehci-atmel: add needed of.h header file
Compilation error in case of non-DT configuration without this of.h header file. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Alan Stern <stern@rowland.harvard.edu>
Diffstat (limited to 'drivers/usb/host/ehci-atmel.c')
-rw-r--r--drivers/usb/host/ehci-atmel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c
index 19f318ababa2..cf14c95a6700 100644
--- a/drivers/usb/host/ehci-atmel.c
+++ b/drivers/usb/host/ehci-atmel.c
@@ -13,6 +13,7 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
/* interface and function clocks */