From: Andrew Morton <akpm@linux-foundation.org>
Date: Thu, 26 May 2011 23:24:57 +0000 (-0700)
Subject: drivers/bcma/host_pci.c needs slab.h
X-Git-Tag: firefly_0821_release~7613^2~1114
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba7328b2d83090c2440b8d0baa6ccfc2ddf1bda6;p=firefly-linux-kernel-4.4.55.git

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>
---

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>