aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/fusbh200-hcd.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-20 11:21:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-20 11:31:24 -0700
commitd6bec48b328020590f14aa440e8adb9368072b9c (patch)
treea3beec1e17cf519ca38d2ba57c6b907a29d6399a /drivers/usb/host/fusbh200-hcd.c
parentusb: host: fusbh200-hcd: Remove redundant platform_set_drvdata() (diff)
downloadlinux-dev-d6bec48b328020590f14aa440e8adb9368072b9c.tar.xz
linux-dev-d6bec48b328020590f14aa440e8adb9368072b9c.zip
usb: host: fusbh200-hcd: Staticize local symbols
Local symbols referenced only in this file are made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/fusbh200-hcd.c')
-rw-r--r--drivers/usb/host/fusbh200-hcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/fusbh200-hcd.c b/drivers/usb/host/fusbh200-hcd.c
index b17dd3fd2b3d..0855ca4caac6 100644
--- a/drivers/usb/host/fusbh200-hcd.c
+++ b/drivers/usb/host/fusbh200-hcd.c
@@ -5769,7 +5769,7 @@ static const struct hc_driver fusbh200_fusbh200_hc_driver = {
.clear_tt_buffer_complete = fusbh200_clear_tt_buffer_complete,
};
-void fusbh200_init(struct fusbh200_hcd *fusbh200)
+static void fusbh200_init(struct fusbh200_hcd *fusbh200)
{
u32 reg;
@@ -5895,7 +5895,7 @@ fail_create_hcd:
* the HCD's stop() method. It is always called from a thread
* context, normally "rmmod", "apmd", or something similar.
*/
-int fusbh200_hcd_fusbh200_remove(struct platform_device *pdev)
+static int fusbh200_hcd_fusbh200_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct usb_hcd *hcd = dev_get_drvdata(dev);
@@ -5911,7 +5911,7 @@ int fusbh200_hcd_fusbh200_remove(struct platform_device *pdev)
return 0;
}
-struct platform_driver fusbh200_hcd_fusbh200_driver = {
+static struct platform_driver fusbh200_hcd_fusbh200_driver = {
.driver = {
.name = "fusbh200",
},