]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/platforms/pseries/eeh.c
powerpc: Fix compile error in EEH code with gcc4
[karo-tx-linux.git] / arch / powerpc / platforms / pseries / eeh.c
index a33ba833109c5e2bfc0628af4a9179d00997be0f..3a857b22aa1ed5cbd5233b3ae26ed254294f512f 100644 (file)
@@ -478,7 +478,7 @@ static struct device_node * find_device_pe(struct device_node *dn)
  *  an interrupt context, which is bad.
  */
 
-static inline void __eeh_mark_slot (struct device_node *dn)
+static void __eeh_mark_slot (struct device_node *dn)
 {
        while (dn) {
                PCI_DN(dn)->eeh_mode |= EEH_MODE_ISOLATED;
@@ -489,7 +489,7 @@ static inline void __eeh_mark_slot (struct device_node *dn)
        }
 }
 
-static inline void __eeh_clear_slot (struct device_node *dn)
+static void __eeh_clear_slot (struct device_node *dn)
 {
        while (dn) {
                PCI_DN(dn)->eeh_mode &= ~EEH_MODE_ISOLATED;