Re: [PATCH 2/2] usb: host: fusbh200-hcd: Staticize local symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, May 20, 2013 at 1:51 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> Local symbols referenced only in this file are made static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>

Thank you.

> ---
>  drivers/usb/host/fusbh200-hcd.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/usb/host/fusbh200-hcd.c b/drivers/usb/host/fusbh200-hcd.c
> index b17dd3f..0855ca4 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",
>         },
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux