Blame SOURCES/0029-pci-Add-device-tree-info.patch

99c779
From e05126bfbf112fc73c98decaf9d27c5e5e38c3c4 Mon Sep 17 00:00:00 2001
99c779
From: Jeremy Kerr <jk@ozlabs.org>
99c779
Date: Wed, 24 Aug 2016 17:39:44 +0800
99c779
Subject: [PATCH 29/43] pci: Add device tree info
99c779
99c779
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
99c779
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
99c779
---
99c779
 src/core/pci.cc | 2 ++
99c779
 1 file changed, 2 insertions(+)
99c779
99c779
diff --git a/src/core/pci.cc b/src/core/pci.cc
99c779
index 8871bbf..1d2b4ee 100644
99c779
--- a/src/core/pci.cc
99c779
+++ b/src/core/pci.cc
99c779
@@ -1,6 +1,7 @@
99c779
 #include "version.h"
99c779
 #include "config.h"
99c779
 #include "pci.h"
99c779
+#include "device-tree.h"
99c779
 #include "osutils.h"
99c779
 #include "options.h"
99c779
 #include "sysfs.h"
99c779
@@ -1177,6 +1178,7 @@ bool scan_pci(hwNode & n)
99c779
               fclose(resource);
99c779
             }
99c779
         }
99c779
+	add_device_tree_info(*device, devices[i]->d_name);
99c779
 
99c779
         result = true;
99c779
       }
99c779
-- 
99c779
2.10.2
99c779