summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
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/agp
parent18cb657ca1bafe635f368346a1676fb04c512edf (diff)
downloadop-kernel-dev-6a915c2bf073743dd31229f1ec2eaa7a2b13c1c3.zip
op-kernel-dev-6a915c2bf073743dd31229f1ec2eaa7a2b13c1c3.tar.gz
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/agp')
-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 17e380f..94821ab 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>
OpenPOWER on IntegriCloud