summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-20 11:02:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 18:44:42 +0200
commit620863f71c46509e104729c75a199689e59cac47 (patch)
tree7454537cd2fccd1da0d7294b9896fc8a2105b619
parentthunderbolt: Use NULL instead of 0 in nhi.c (diff)
downloadlinux-620863f71c46509e104729c75a199689e59cac47.tar.xz
linux-620863f71c46509e104729c75a199689e59cac47.zip
thunderbolt: Staticize nhi_ids
'nhi_ids' is local to this file. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Acked-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/thunderbolt/nhi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c
index 0fc137af89f5..2054fbf8b382 100644
--- a/drivers/thunderbolt/nhi.c
+++ b/drivers/thunderbolt/nhi.c
@@ -632,7 +632,7 @@ static const struct dev_pm_ops nhi_pm_ops = {
.restore_noirq = nhi_resume_noirq,
};
-struct pci_device_id nhi_ids[] = {
+static struct pci_device_id nhi_ids[] = {
/*
* We have to specify class, the TB bridges use the same device and
* vendor (sub)id.