aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/epautoconf.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-09-06 14:11:12 -0400
committerFelipe Balbi <balbi@ti.com>2012-09-10 08:37:51 -0400
commitdc995fc27c2e1c8edebfb2405ede23bd38153f7f (patch)
tree06fe0a5bc5f440a35fc5883bafd8a7cdf8ed98b6 /drivers/usb/gadget/epautoconf.c
parente87bb7118c4f752de4616a7ab56c51ed3e7f6f53 (diff)
usb: gadget: libcomposite: add epautoconf.c to libcomposite
This patch adds epautoconf.c into libcomposite and updates all gadgets. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/epautoconf.c')
-rw-r--r--drivers/usb/gadget/epautoconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index d5a905dbed00..a777f7bd11b4 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -10,6 +10,7 @@
10 */ 10 */
11 11
12#include <linux/kernel.h> 12#include <linux/kernel.h>
13#include <linux/module.h>
13#include <linux/init.h> 14#include <linux/init.h>
14#include <linux/types.h> 15#include <linux/types.h>
15#include <linux/device.h> 16#include <linux/device.h>
@@ -315,6 +316,7 @@ found_ep:
315 ep->comp_desc = NULL; 316 ep->comp_desc = NULL;
316 return ep; 317 return ep;
317} 318}
319EXPORT_SYMBOL_GPL(usb_ep_autoconfig_ss);
318 320
319/** 321/**
320 * usb_ep_autoconfig() - choose an endpoint matching the 322 * usb_ep_autoconfig() - choose an endpoint matching the
@@ -354,7 +356,7 @@ struct usb_ep *usb_ep_autoconfig(
354{ 356{
355 return usb_ep_autoconfig_ss(gadget, desc, NULL); 357 return usb_ep_autoconfig_ss(gadget, desc, NULL);
356} 358}
357 359EXPORT_SYMBOL_GPL(usb_ep_autoconfig);
358 360
359/** 361/**
360 * usb_ep_autoconfig_reset - reset endpoint autoconfig state 362 * usb_ep_autoconfig_reset - reset endpoint autoconfig state
@@ -375,4 +377,4 @@ void usb_ep_autoconfig_reset (struct usb_gadget *gadget)
375 gadget->in_epnum = 0; 377 gadget->in_epnum = 0;
376 gadget->out_epnum = 0; 378 gadget->out_epnum = 0;
377} 379}
378 380EXPORT_SYMBOL_GPL(usb_ep_autoconfig_reset);