aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeann Ogasawara <leann.ogasawara@canonical.com>2011-11-16 10:30:48 -0800
committerJohn Rigby <john.rigby@linaro.org>2012-06-25 15:02:16 -0600
commit52096f653c878cadc8303a7a3b3e34f1cddd7e90 (patch)
tree0fc6c5ad5d9670e1888dbcbbaa3bd328ee1a5178
parentf7fce02c90068d9677bef26c41737fbd0104eda9 (diff)
UBUNTU: SAUCE: include <linux/printk.h> and <stdarg.h> for mmc_core arm build
Fixes arm build failure: drivers/net/ethernet/stmicro/stmmac/mmc_core.c:142:2: error: implicit declaration of function 'pr_debug' [-Werror=implicit-function-declaration] include/linux/printk.h:47:2: error: unknown type name 'va_list' Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/mmc_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
index c07cfe989f6..2de44aee73c 100644
--- a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
+++ b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
@@ -23,7 +23,9 @@
*******************************************************************************/
#include <linux/kernel.h>
+#include <stdarg.h>
#include <linux/io.h>
+#include <linux/printk.h>
#include "mmc.h"
/* MAC Management Counters register offset */