diff --git a/arm-stmmac-mmc-core.patch b/arm-stmmac-mmc-core.patch new file mode 100644 index 000000000..469fe42d4 --- /dev/null +++ b/arm-stmmac-mmc-core.patch @@ -0,0 +1,26 @@ +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 denx.de> +Cc: Giuseppe 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 st.com> + *******************************************************************************/ + ++#include + #include + #include "mmc.h" + +-- diff --git a/kernel.spec b/kernel.spec index bc8c2b5ac..80b22cc8a 100644 --- a/kernel.spec +++ b/kernel.spec @@ -656,6 +656,7 @@ Patch20000: utrace.patch Patch21000: arm-omap-dt-compat.patch Patch21001: arm-smsc-support-reading-mac-address-from-device-tree.patch Patch21002: arm-build-bug-on.patch +Patch21003: arm-stmmac-mmc-core.patch #rhbz 717735 Patch21045: nfs-client-freezer.patch @@ -1136,6 +1137,7 @@ ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R ApplyPatch arm-omap-dt-compat.patch ApplyPatch arm-smsc-support-reading-mac-address-from-device-tree.patch ApplyPatch arm-build-bug-on.patch +ApplyPatch arm-stmmac-mmc-core.patch ApplyPatch taint-vbox.patch # @@ -1964,6 +1966,7 @@ fi * Tue Jan 31 2012 Dennis Gilmore - diable TOUCHSCREEN_EETI on all arm arches - add patch for arm mtd +- add patch for stmmac on arm * Mon Jan 30 2012 Dave Jones - Enable kmemleak (off by default) in kernel-debug (rhbz 782419)