diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2010-10-29 12:48:01 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2010-10-29 13:26:48 -0400 |
commit | 6a915c2bf073743dd31229f1ec2eaa7a2b13c1c3 (patch) | |
tree | 9e6d1497c53a3c111842c7d8864a19f19cf0c88a /drivers/char | |
parent | 18cb657ca1bafe635f368346a1676fb04c512edf (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c index 17e380f5f818..94821ab01c6d 100644 --- a/drivers/char/agp/parisc-agp.c +++ b/drivers/char/agp/parisc-agp.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/klist.h> | 19 | #include <linux/klist.h> |
20 | #include <linux/agp_backend.h> | 20 | #include <linux/agp_backend.h> |
21 | #include <linux/log2.h> | 21 | #include <linux/log2.h> |
22 | #include <linux/slab.h> | ||
22 | 23 | ||
23 | #include <asm/parisc-device.h> | 24 | #include <asm/parisc-device.h> |
24 | #include <asm/ropes.h> | 25 | #include <asm/ropes.h> |