linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: rcar: make local symbol static
@ 2014-10-23  2:11 Jingoo Han
  2014-10-29  1:55 ` Simon Horman
  2014-10-29 16:09 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: Jingoo Han @ 2014-10-23  2:11 UTC (permalink / raw)
  To: 'Bjorn Helgaas'
  Cc: linux-pci, 'Jingoo Han', 'Simon Horman',
	'Phil Edworthy'

Make local symbol static, because this is used only in this file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/pci/host/pcie-rcar.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index 61158e0..0df9b29 100644
--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -389,7 +389,7 @@ static void rcar_pcie_add_bus(struct pci_bus *bus)
 	}
 }
 
-struct hw_pci rcar_pci = {
+static struct hw_pci rcar_pci = {
 	.setup          = rcar_pcie_setup,
 	.map_irq        = of_irq_parse_and_map_pci,
 	.ops            = &rcar_pcie_ops,
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: rcar: make local symbol static
  2014-10-23  2:11 [PATCH] PCI: rcar: make local symbol static Jingoo Han
@ 2014-10-29  1:55 ` Simon Horman
  2014-10-29 16:09 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-10-29  1:55 UTC (permalink / raw)
  To: Jingoo Han; +Cc: 'Bjorn Helgaas', linux-pci, 'Phil Edworthy'

On Thu, Oct 23, 2014 at 11:11:47AM +0900, Jingoo Han wrote:
> Make local symbol static, because this is used only in this file.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>


Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  drivers/pci/host/pcie-rcar.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
> index 61158e0..0df9b29 100644
> --- a/drivers/pci/host/pcie-rcar.c
> +++ b/drivers/pci/host/pcie-rcar.c
> @@ -389,7 +389,7 @@ static void rcar_pcie_add_bus(struct pci_bus *bus)
>  	}
>  }
>  
> -struct hw_pci rcar_pci = {
> +static struct hw_pci rcar_pci = {
>  	.setup          = rcar_pcie_setup,
>  	.map_irq        = of_irq_parse_and_map_pci,
>  	.ops            = &rcar_pcie_ops,
> -- 
> 1.7.9.5
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: rcar: make local symbol static
  2014-10-23  2:11 [PATCH] PCI: rcar: make local symbol static Jingoo Han
  2014-10-29  1:55 ` Simon Horman
@ 2014-10-29 16:09 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2014-10-29 16:09 UTC (permalink / raw)
  To: Jingoo Han; +Cc: linux-pci, 'Simon Horman', 'Phil Edworthy'

On Thu, Oct 23, 2014 at 11:11:47AM +0900, Jingoo Han wrote:
> Make local symbol static, because this is used only in this file.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied to pci/host-rcar for v3.19 with Simon's ack, thanks!

> ---
>  drivers/pci/host/pcie-rcar.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
> index 61158e0..0df9b29 100644
> --- a/drivers/pci/host/pcie-rcar.c
> +++ b/drivers/pci/host/pcie-rcar.c
> @@ -389,7 +389,7 @@ static void rcar_pcie_add_bus(struct pci_bus *bus)
>  	}
>  }
>  
> -struct hw_pci rcar_pci = {
> +static struct hw_pci rcar_pci = {
>  	.setup          = rcar_pcie_setup,
>  	.map_irq        = of_irq_parse_and_map_pci,
>  	.ops            = &rcar_pcie_ops,
> -- 
> 1.7.9.5
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-29 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23  2:11 [PATCH] PCI: rcar: make local symbol static Jingoo Han
2014-10-29  1:55 ` Simon Horman
2014-10-29 16:09 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).