brcm63xx: fix build failure on varid
[openwrt.git] / target / linux / brcm63xx / patches-3.10 / 332-MIPS-BCM63XX-detect-bcm6328-variants.patch
index 9962b1e593f1d62d4818f9848072c82a65a050aa..4eb5234a0df634c4741fbdf1f9d4031a6799aa66 100644 (file)
@@ -14,7 +14,7 @@ Subject: [PATCH 42/53] MIPS: BCM63XX: detect bcm6328 variants
        struct cpuinfo_mips *c = &current_cpu_data;
        unsigned int cpu = smp_processor_id();
        u32 chipid_reg;
-+      u8 varid;
++      u8 __maybe_unused varid = 0;
  
        /* soc registers location depends on cpu type */
        chipid_reg = 0;