pmu: fix kernel panic on for_each_pci_dev
authorJekyll Lai <jekyll_lai@wistron.com>
Fri, 15 Jul 2011 13:39:20 +0000 (14:39 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:36:23 +0000 (12:36 -0800)
commit4d1109484a64d5bdaf37a9e8edde599681b14fbe
treec97588c5dc013fb08ac8b253249320720e59d223
parent771d1932f4b179e585142fc2fbe8bbcd7d07a6bf
pmu: fix kernel panic on for_each_pci_dev

Setting pdev initial value to NULL in order to avoid kernel panic
in "for_each_pci_dev()."

Change-Id: I5970ec466c645bf3ebd168b973ccb612dbd424e3
Signed-off-by: Jekyll Lai <jekyll_lai@wistron.com>
arch/x86/platform/mrst/pmu.c