summaryrefslogtreecommitdiff
path: root/drivers/bcma/host_pci.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-05-27 03:24:57 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-27 04:12:32 +0400
commitba7328b2d83090c2440b8d0baa6ccfc2ddf1bda6 (patch)
treeff409350fb9b17b9bc9aab904f0df53b4835fe10 /drivers/bcma/host_pci.c
parent15f82d1b0b25185311f3b876e372d0d8e52a3c92 (diff)
downloadlinux-ba7328b2d83090c2440b8d0baa6ccfc2ddf1bda6.tar.xz
drivers/bcma/host_pci.c needs slab.h
alpha allmodconfig: drivers/bcma/host_pci.c: In function 'bcma_host_pci_probe': drivers/bcma/host_pci.c:102: error: implicit declaration of function 'kzalloc' drivers/bcma/host_pci.c:102: warning: assignment makes pointer from integer without a cast Cc: <zajec5@gmail.com> Cc: John W. Linville <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/bcma/host_pci.c')
-rw-r--r--drivers/bcma/host_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
index ffd8797faf4f..471a04013fe0 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -6,6 +6,7 @@
*/
#include "bcma_private.h"
+#include <linux/slab.h>
#include <linux/bcma/bcma.h>
#include <linux/pci.h>