* [PATCH] stmmac: Fix compilation error in mmc_core.c
@ 2012-01-10 11:47 Stefan Roese
2012-01-10 14:49 ` Giuseppe CAVALLARO
2012-01-10 22:57 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Roese @ 2012-01-10 11:47 UTC (permalink / raw)
To: netdev; +Cc: Giuseppe Cavallaro
Fix this error:
CC drivers/net/ethernet/stmicro/stmmac/mmc_core.o
drivers/net/ethernet/stmicro/stmmac/mmc_core.c: In function 'dwmac_mmc_ctrl':
drivers/net/ethernet/stmicro/stmmac/mmc_core.c:143:2: error: implicit
declaration of function 'pr_debug' [-Werror=implicit-function-declaration]
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
---
drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
index 41e6b33..c07cfe9 100644
--- a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
+++ b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
@@ -22,6 +22,7 @@
Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
*******************************************************************************/
+#include <linux/kernel.h>
#include <linux/io.h>
#include "mmc.h"
--
1.7.8.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-10 22:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 11:47 [PATCH] stmmac: Fix compilation error in mmc_core.c Stefan Roese
2012-01-10 14:49 ` Giuseppe CAVALLARO
2012-01-10 22:57 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).