X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fpowerpc%2Flib%2Fbat_rw.c;h=113c293c03618dd25bd9cecbb61b7e31fd711f7b;hb=2ab575e05d715a1b9818b4a1f6a9d7ccb5bdb32a;hp=c48c24015153ade7180d6accc9e62968127e792d;hpb=9d62f20d0861ef87460d073dc189c851715b46ae;p=u-boot diff --git a/arch/powerpc/lib/bat_rw.c b/arch/powerpc/lib/bat_rw.c index c48c240151..113c293c03 100644 --- a/arch/powerpc/lib/bat_rw.c +++ b/arch/powerpc/lib/bat_rw.c @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef CONFIG_ADDR_MAP #include @@ -35,7 +36,7 @@ DECLARE_GLOBAL_DATA_PTR; int write_bat (ppc_bat_t bat, unsigned long upper, unsigned long lower) { - int batn = -1; + __maybe_unused int batn = -1; sync();