[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1329728040-28664-3-git-send-email-alex.shi@intel.com>
Date: Mon, 20 Feb 2012 16:54:00 +0800
From: Alex Shi <alex.shi@...el.com>
To: sarah.a.sharp@...ux.intel.com, gregkh@...uxfoundation.org
Cc: stern@...land.harvard.edu, linux-usb@...r.kernel.org,
andiry.xu@....com, clemens@...isch.de, linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] usb: export usb_hcd_request_irqs
May it is possible be used by drivers.
Signed-off-by: Alex Shi <alex.shi@...el.com>
---
drivers/usb/core/hcd.c | 1 +
include/linux/usb/hcd.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 32ddad0..5f11826 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -2375,6 +2375,7 @@ int usb_hcd_request_irqs(struct usb_hcd *hcd, unsigned int irqnum,
return retval;
}
+EXPORT_SYMBOL_GPL(usb_hcd_request_irqs);
/**
* usb_add_hcd - finish generic HCD structure initialization and register
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 5253c02..d58e710 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -392,6 +392,8 @@ extern int usb_hcd_is_primary_hcd(struct usb_hcd *hcd);
extern int usb_add_hcd(struct usb_hcd *hcd,
unsigned int irqnum, unsigned long irqflags);
extern void usb_remove_hcd(struct usb_hcd *hcd);
+extern int usb_hcd_request_irqs(struct usb_hcd *hcd,
+ unsigned int irqnum, unsigned long irqflags);
struct platform_device;
extern void usb_hcd_platform_shutdown(struct platform_device *dev);
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists