Message ID | 1380363121-1977-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Sat, Sep 28, 2013 at 4:12 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote: > 'pci_dev_pm_ops' is local to this file. Make it static. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Applied to pci/misc, thanks! Bjorn > --- > drivers/pci/pci-driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c > index 38f3c01..653c8c5 100644 > --- a/drivers/pci/pci-driver.c > +++ b/drivers/pci/pci-driver.c > @@ -1124,7 +1124,7 @@ static int pci_pm_runtime_idle(struct device *dev) > > #ifdef CONFIG_PM > > -const struct dev_pm_ops pci_dev_pm_ops = { > +static const struct dev_pm_ops pci_dev_pm_ops = { > .prepare = pci_pm_prepare, > .complete = pci_pm_complete, > .suspend = pci_pm_suspend, > -- > 1.7.9.5 > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 4 October 2013 23:39, Bjorn Helgaas <bhelgaas@google.com> wrote: > On Sat, Sep 28, 2013 at 4:12 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote: >> 'pci_dev_pm_ops' is local to this file. Make it static. >> >> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > > Applied to pci/misc, thanks! Looks like this branch hasn't been pushed out yet.
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 38f3c01..653c8c5 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -1124,7 +1124,7 @@ static int pci_pm_runtime_idle(struct device *dev) #ifdef CONFIG_PM -const struct dev_pm_ops pci_dev_pm_ops = { +static const struct dev_pm_ops pci_dev_pm_ops = { .prepare = pci_pm_prepare, .complete = pci_pm_complete, .suspend = pci_pm_suspend,
'pci_dev_pm_ops' is local to this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/pci/pci-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)