diff options
author | Leann Ogasawara <leann.ogasawara@canonical.com> | 2011-11-16 10:30:48 -0800 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-11-14 18:19:21 -0700 |
commit | 04fb97115957579ab9f99973fc67b0fd1d3aab46 (patch) | |
tree | 72b4a015a7e015a9ee4f748e22ae8bf71c05af40 | |
parent | 16e5556c8e26626d558894e75bef5af8942a023f (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.c | 2 |
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 0c74a702d46..0d20455f043 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 */ |