aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dwc2/hcd.c
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-04-22 14:00:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-23 10:37:55 -0700
commit5b9974b13e3648b6821a6d2aab408ce7cef60ce3 (patch)
tree0ac9b88705c1408a4f39b355f244f2235331adb1 /drivers/staging/dwc2/hcd.c
parentstaging: dwc2: check for null pointer before dereferencing it (diff)
downloadlinux-dev-5b9974b13e3648b6821a6d2aab408ce7cef60ce3.tar.xz
linux-dev-5b9974b13e3648b6821a6d2aab408ce7cef60ce3.zip
staging: dwc2: add platform device bindings
This adds a dwc_platform.ko module that can be loaded by using compatible = "snps,dwc2" in a device tree. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dwc2/hcd.c')
-rw-r--r--drivers/staging/dwc2/hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/dwc2/hcd.c b/drivers/staging/dwc2/hcd.c
index 65b73482da42..827ab781ae9b 100644
--- a/drivers/staging/dwc2/hcd.c
+++ b/drivers/staging/dwc2/hcd.c
@@ -2693,6 +2693,7 @@ void dwc2_set_all_params(struct dwc2_core_params *params, int value)
for (i = 0; i < size; i++)
p[i] = -1;
}
+EXPORT_SYMBOL_GPL(dwc2_set_all_params);
/*
* Initializes the HCD. This function allocates memory for and initializes the