[PATCH] powerpc/PCI hotplug: shuffle error checking to better location.
[powerpc.git] / drivers / pci / hotplug / shpchprm_nonacpi.c
index d70fe54..c6b4099 100644 (file)
@@ -32,6 +32,8 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
+
 #include "shpchp.h"
 
 int shpchprm_get_physical_slot_number(struct controller *ctrl, u32 *sun, u8 busnum, u8 devnum)