diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-18 08:18:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:36 -0500 |
commit | 0978f8c55cdc7c06b2f1440b030e93fda2c53b2b (patch) | |
tree | 33bf6a115e76b2deb3127e7ac381f0ea393cdf82 /drivers/usb/gadget | |
parent | 385f690bc058ba2555640740a1957826a40e4615 (diff) |
USB: s3c-hsotg: Staticise non-exported functions
Keeps sparse happy if nothing else.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 5fc80a104150..2a5ea06f89c8 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c | |||
@@ -317,7 +317,8 @@ static void s3c_hsotg_init_fifo(struct s3c_hsotg *hsotg) | |||
317 | * | 317 | * |
318 | * Allocate a new USB request structure appropriate for the specified endpoint | 318 | * Allocate a new USB request structure appropriate for the specified endpoint |
319 | */ | 319 | */ |
320 | struct usb_request *s3c_hsotg_ep_alloc_request(struct usb_ep *ep, gfp_t flags) | 320 | static struct usb_request *s3c_hsotg_ep_alloc_request(struct usb_ep *ep, |
321 | gfp_t flags) | ||
321 | { | 322 | { |
322 | struct s3c_hsotg_req *req; | 323 | struct s3c_hsotg_req *req; |
323 | 324 | ||
@@ -1460,7 +1461,7 @@ static u32 s3c_hsotg_read_frameno(struct s3c_hsotg *hsotg) | |||
1460 | * as the actual data should be sent to the memory directly and we turn | 1461 | * as the actual data should be sent to the memory directly and we turn |
1461 | * on the completion interrupts to get notifications of transfer completion. | 1462 | * on the completion interrupts to get notifications of transfer completion. |
1462 | */ | 1463 | */ |
1463 | void s3c_hsotg_handle_rx(struct s3c_hsotg *hsotg) | 1464 | static void s3c_hsotg_handle_rx(struct s3c_hsotg *hsotg) |
1464 | { | 1465 | { |
1465 | u32 grxstsr = readl(hsotg->regs + S3C_GRXSTSP); | 1466 | u32 grxstsr = readl(hsotg->regs + S3C_GRXSTSP); |
1466 | u32 epnum, status, size; | 1467 | u32 epnum, status, size; |
@@ -3094,7 +3095,7 @@ static void s3c_hsotg_gate(struct platform_device *pdev, bool on) | |||
3094 | local_irq_restore(flags); | 3095 | local_irq_restore(flags); |
3095 | } | 3096 | } |
3096 | 3097 | ||
3097 | struct s3c_hsotg_plat s3c_hsotg_default_pdata; | 3098 | static struct s3c_hsotg_plat s3c_hsotg_default_pdata; |
3098 | 3099 | ||
3099 | static int __devinit s3c_hsotg_probe(struct platform_device *pdev) | 3100 | static int __devinit s3c_hsotg_probe(struct platform_device *pdev) |
3100 | { | 3101 | { |