diff options
author | James Bottomley <jbottomley@parallels.com> | 2011-11-29 19:20:23 +0000 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-12-05 10:31:25 -0800 |
commit | 8c4519456713628cbb457c77bf06684aace67f69 (patch) | |
tree | 9b18579db366024a85e4a6fbeef261a0a96be547 /arch/sh | |
parent | bbef98ab0f019f1b0c25c1acdf1683c68933d41b (diff) |
PCI: fix ats compile failure
I get this compile failure on parisc:
drivers/pci/ats.c: In function 'ats_alloc_one':
drivers/pci/ats.c:29: error: implicit declaration of function 'kzalloc'
drivers/pci/ats.c:29: warning: assignment makes pointer from integer without a cast
drivers/pci/ats.c: In function 'ats_free_one':
drivers/pci/ats.c:45: error: implicit declaration of function 'kfree'
Because ats.c is missing linux/slab.h as an include. This patch fixes it
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions