From: Ben Dooks Date: Thu, 9 Jun 2016 10:42:13 +0000 (+0100) Subject: PCI: Make bus_attr_resource_alignment static X-Git-Tag: v4.14-rc1~2732^2~5^5~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21751a9a4ed4219c11e4073afecb9a876d1107ea;p=platform%2Fkernel%2Flinux-rpi.git PCI: Make bus_attr_resource_alignment static The symbol bus_attr_resource_alignment is not exported or declared elsewhere, so make it static to fix the following warning: drivers/pci/pci.c:4900:1: warning: symbol 'bus_attr_resource_alignment' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index c8b4dbd..9add285 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4897,7 +4897,7 @@ static ssize_t pci_resource_alignment_store(struct bus_type *bus, return pci_set_resource_alignment_param(buf, count); } -BUS_ATTR(resource_alignment, 0644, pci_resource_alignment_show, +static BUS_ATTR(resource_alignment, 0644, pci_resource_alignment_show, pci_resource_alignment_store); static int __init pci_resource_alignment_sysfs_init(void)