]> git.sur5r.net Git - u-boot/blobdiff - drivers/pcmcia/mpc8xx_pcmcia.c
drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning
[u-boot] / drivers / pcmcia / mpc8xx_pcmcia.c
index 74a50f1c74737602206a95e7d5100631f30cdbb0..373258383810b9d886c25adf3a8b67ec39d22b2e 100644 (file)
@@ -1,6 +1,7 @@
 #include <common.h>
 #include <mpc8xx.h>
 #include <pcmcia.h>
+#include <linux/compiler.h>
 
 #undef CONFIG_PCMCIA
 
@@ -73,8 +74,8 @@ int pcmcia_on (void)
 {
        u_long reg, base;
        pcmcia_win_t *win;
-       u_int slotbit;
        u_int rc, slot;
+       __maybe_unused u_int slotbit;
        int i;
 
        debug ("Enable PCMCIA " PCMCIA_SLOT_MSG "\n");