diff mbox

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

Message ID 201105232230.p4NMUiQk016228@imap1.linux-foundation.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Andrew Morton May 23, 2011, 10:30 p.m. UTC
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 <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

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

Patch

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>