DORMANTno replies

[patch 1/1] drivers/bcma/host_pci.c needs slab.h

From: akpm@linux-foundation.org
Date: 2011-05-23 22:30:58

From: Andrew Morton <akpm@linux-foundation.org>

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 <redacted>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/bcma/host_pci.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/bcma/host_pci.c~drivers-bcma-host_pcic-needs-slabh drivers/bcma/host_pci.c
--- a/drivers/bcma/host_pci.c~drivers-bcma-host_pcic-needs-slabh
+++ a/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>
 
_
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help