aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-10-29 12:48:01 -0400
committerKyle McMartin <kyle@mcmartin.ca>2010-10-29 13:26:48 -0400
commit6a915c2bf073743dd31229f1ec2eaa7a2b13c1c3 (patch)
tree9e6d1497c53a3c111842c7d8864a19f19cf0c88a /drivers/char
parent18cb657ca1bafe635f368346a1676fb04c512edf (diff)
parisc-agp: fix missing slab.h include
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/agp/parisc-agp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c
index 17e380f5f81..94821ab01c6 100644
--- a/drivers/char/agp/parisc-agp.c
+++ b/drivers/char/agp/parisc-agp.c
@@ -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>