diff options
author | Leann Ogasawara <leann.ogasawara@canonical.com> | 2011-11-16 10:30:48 -0800 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-06-20 20:23:08 -0600 |
commit | 44f7e481f96ff16ab92d6a41709a658c0ba98756 (patch) | |
tree | 709e0d6c0be8e7ff8230cfb7743c05eb8a032486 /drivers | |
parent | 458ce76e1fa559dca8881e6c185087148f6bd14e (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>
Diffstat (limited to 'drivers')
-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 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 */ |