Re: [PATCH 1/6] usb: phy: export ulpi_viewport_access_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

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

From: Manjunath Goudar <manjunath.goudar@xxxxxxxxxx>

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

Signed-off-by: Manjunath Goudar <manjunath.goudar@xxxxxxxxxx>
[swarren, reworked Manjunath's patches to split them more logically]
Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
---
  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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux