parisc-agp: fix missing slab.h include
authorKyle McMartin <kyle@mcmartin.ca>
Fri, 29 Oct 2010 16:48:01 +0000 (12:48 -0400)
committerKyle McMartin <kyle@mcmartin.ca>
Fri, 29 Oct 2010 17:26:48 +0000 (13:26 -0400)
Commit 338e4fab added a missing kfree if the alloc_pci_dev failed
but forgot to include <linux/slab.h> for the definition of
kfree.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
drivers/char/agp/parisc-agp.c

index 17e380f5f818f6d0aa3ada75d3dc614975b51781..94821ab01c6d6ae1803201c27217c69a30357329 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/klist.h>
 #include <linux/agp_backend.h>
 #include <linux/log2.h>
+#include <linux/slab.h>
 
 #include <asm/parisc-device.h>
 #include <asm/ropes.h>