stmmac: Fix compilation error in mmc_core.c
Subsystems (4)
PATCH 1/1 stmmac: Fix compilation error in mmc_core.c
Fix this error:
CC drivers/net/ethernet/stmicro/stmmac/mmc_core.odrivers/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]
--- drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/ethernet/stmicro/stmmac/mmc_core.c +1 -0
@@ -22,6 +22,7 @@Author: Giuseppe Cavallaro <[email protected]> *******************************************************************************/ +#include <linux/kernel.h> #include <linux/io.h> #include "mmc.h"
Signature · 1 line
1.7.8.3
Quoted 2 lines · Stefan Roese
Signed-off-by Stefan Roese <[email protected]>Cc Giuseppe Cavallaro <[email protected]>
Just reproduce building on arm with gcc 4.6.2
From: Stefan Roese <[email protected]>
Date: Tue, 10 Jan 2012 12:47:40 +0100
Quoted 9 lines
Fix this error:
CC
drivers/net/ethernet/stmicro/stmmac/mmc_core.odrivers/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 <[email protected]>Cc Giuseppe Cavallaro <[email protected]>
Applied.