summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Haverkamp <haver@linux.vnet.ibm.com>2014-01-07 15:41:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-08 15:22:15 -0800
commit90b4e97e69ff3d6cca3e227145c7de8305bd84cf (patch)
tree26533bff9298ebff9ba2e69bef5e5cf7ca4ad6fb
parentaa98a28563d2abcd904d07fd5e54553290c85f91 (diff)
downloadlinux-90b4e97e69ff3d6cca3e227145c7de8305bd84cf.tar.bz2
GenWQE: Fix compile problems for Alpha
The header which contained the declaration for kcalloc() was not inlcuded. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/genwqe/card_base.h1
-rw-r--r--drivers/misc/genwqe/card_ddcb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/genwqe/card_base.h b/drivers/misc/genwqe/card_base.h
index 41953e34d1a3..5e4dbd21f89a 100644
--- a/drivers/misc/genwqe/card_base.h
+++ b/drivers/misc/genwqe/card_base.h
@@ -36,6 +36,7 @@
#include <linux/io.h>
#include <linux/version.h>
#include <linux/debugfs.h>
+#include <linux/slab.h>
#include <linux/genwqe/genwqe_card.h>
#include "genwqe_driver.h"
diff --git a/drivers/misc/genwqe/card_ddcb.c b/drivers/misc/genwqe/card_ddcb.c
index b5a3206df3cd..6f1acc0ccf88 100644
--- a/drivers/misc/genwqe/card_ddcb.c
+++ b/drivers/misc/genwqe/card_ddcb.c
@@ -38,6 +38,7 @@
#include <linux/interrupt.h>
#include <linux/crc-itu-t.h>
+#include "card_base.h"
#include "card_ddcb.h"
/*