PCI: fix ats compile failure
authorJames Bottomley <jbottomley@parallels.com>
Tue, 29 Nov 2011 19:20:23 +0000 (19:20 +0000)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 5 Dec 2011 18:31:25 +0000 (10:31 -0800)
commit8c4519456713628cbb457c77bf06684aace67f69
tree9b18579db366024a85e4a6fbeef261a0a96be547
parentbbef98ab0f019f1b0c25c1acdf1683c68933d41b
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>
drivers/pci/ats.c