summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-01-10 02:47:40 +0100
committerDavid S. Miller <davem@davemloft.net>2012-01-10 23:57:20 +0100
commit1dd8117e3320fb42ec40ef2ace982871572d34ed (patch)
tree147b727bb7b64daff4ca09cefe85d00e0dd00fac /drivers/net/ethernet/stmicro
parentMerge branch 'davem-next.via-rhine' of git://violet.fr.zoreil.com/romieu/linux (diff)
downloadlinux-1dd8117e3320fb42ec40ef2ace982871572d34ed.tar.xz
linux-1dd8117e3320fb42ec40ef2ace982871572d34ed.zip
stmmac: Fix compilation error in mmc_core.c
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> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/mmc_core.c1
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 41e6b33e1b08..c07cfe989f6e 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"