Skip to content

Commit

Permalink
parisc-agp: fix missing slab.h include
Browse files Browse the repository at this point in the history
Commit 338e4fa 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>
  • Loading branch information
Kyle McMartin committed Oct 29, 2010
1 parent 18cb657 commit 6a915c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/agp/parisc-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6a915c2

Please sign in to comment.