diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index 136365c1f8e1..17cea7f2afd3 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c | |||
@@ -698,7 +698,7 @@ static void *early_enable_eeh(struct device_node *dn, void *data) | |||
698 | int enable; | 698 | int enable; |
699 | struct pci_dn *pdn = PCI_DN(dn); | 699 | struct pci_dn *pdn = PCI_DN(dn); |
700 | 700 | ||
701 | pdn->class_code = *class_code; | 701 | pdn->class_code = 0; |
702 | pdn->eeh_mode = 0; | 702 | pdn->eeh_mode = 0; |
703 | pdn->eeh_check_count = 0; | 703 | pdn->eeh_check_count = 0; |
704 | pdn->eeh_freeze_count = 0; | 704 | pdn->eeh_freeze_count = 0; |
@@ -715,6 +715,7 @@ static void *early_enable_eeh(struct device_node *dn, void *data) | |||
715 | pdn->eeh_mode |= EEH_MODE_NOCHECK; | 715 | pdn->eeh_mode |= EEH_MODE_NOCHECK; |
716 | return NULL; | 716 | return NULL; |
717 | } | 717 | } |
718 | pdn->class_code = *class_code; | ||
718 | 719 | ||
719 | /* | 720 | /* |
720 | * Now decide if we are going to "Disable" EEH checking | 721 | * Now decide if we are going to "Disable" EEH checking |