Re: [balbi-usb:testing/next 64/67] otg.c:undefined reference to `usb_gadget_vbus_disconnect'

From
Sebastian Reichel <hidden>
Date
2016-06-21 01:18:26
Also in
linux-omap
Hi Felipe,

On Mon, Jun 13, 2016 at 09:01:55AM +0300, Felipe Balbi wrote:
From d45bdfafc3143dc7acc9d71131807d3e30ab7bcd Mon Sep 17 00:00:00 2001
From: Felipe Balbi <redacted>
Date: Tue, 31 May 2016 13:07:47 +0300
Subject: [PATCH] usb: gadget: move gadget API functions to udc-core

instead of defining all functions as static inlines,
let's move them to udc-core and export them with
EXPORT_SYMBOL_GPL, that way we can make sure that
only GPL drivers will use them.

As a side effect, it'll be nicer to add tracepoints
to the gadget API.

While at that, also fix Kconfig dependencies to
avoid randconfig build failures.

Signed-off-by: Felipe Balbi <redacted>
---
 drivers/phy/Kconfig               |   1 +
 drivers/power/Kconfig             |   1 +
 drivers/usb/gadget/udc/udc-core.c | 573 +++++++++++++++++++++++++++++++++++++
 drivers/usb/host/Kconfig          |   2 +-
 drivers/usb/phy/Kconfig           |  11 +-
 include/linux/usb/gadget.h        | 585 ++++----------------------------------
 6 files changed, 645 insertions(+), 528 deletions(-)
[For drivers/power/Kconfig]
Acked-By: Sebastian Reichel <redacted>

-- Sebastian

Attachments

Thread (1 message) 1 message, 1 author, 2016-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help