Re: [PATCH] PCI: rcar: make local symbol static

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

 



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@xxxxxxxxxxx>


Acked-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>

> ---
>  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
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux