Hello.

On 06/03/2013 11:21 PM, Stephen Warren wrote:

From: Manjunath Goudar <manjunath.gou...@linaro.org>

In order to build a ULPI PHY driver as a module, this symbol needs to
be exported.

Signed-off-by: Manjunath Goudar <manjunath.gou...@linaro.org>
[swarren, reworked Manjunath's patches to split them more logically]
Signed-off-by: Stephen Warren <swar...@nvidia.com>
---
  drivers/usb/phy/phy-ulpi-viewport.c |    2 ++
  1 file changed, 2 insertions(+)

diff --git a/drivers/usb/phy/phy-ulpi-viewport.c 
b/drivers/usb/phy/phy-ulpi-viewport.c
index c5ba7e5..4442425 100644
--- a/drivers/usb/phy/phy-ulpi-viewport.c
+++ b/drivers/usb/phy/phy-ulpi-viewport.c
@@ -13,6 +13,7 @@
   */
#include <linux/kernel.h>
+#include <linux/module.h>

    Rather export.h...

  #include <linux/usb.h>
  #include <linux/io.h>
  #include <linux/usb/otg.h>
@@ -78,3 +79,4 @@ struct usb_phy_io_ops ulpi_viewport_access_ops = {
        .read   = ulpi_viewport_read,
        .write  = ulpi_viewport_write,
  };
+EXPORT_SYMBOL_GPL(ulpi_viewport_access_ops);

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to