mtd: cfi_cmdset_0002: Mark expected switch fall-throughs
[linux-2.6-microblaze.git] / drivers / mtd / chips / cfi_cmdset_0002.c
index 7b7286b..c8fa590 100644 (file)
@@ -869,6 +869,7 @@ static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr
                /* Only if there's no operation suspended... */
                if (mode == FL_READY && chip->oldstate == FL_READY)
                        return 0;
+               /* fall through */
 
        default:
        sleep:
@@ -2751,6 +2752,7 @@ static void cfi_amdstd_sync (struct mtd_info *mtd)
                         * as the whole point is that nobody can do anything
                         * with the chip now anyway.
                         */
+                       /* fall through */
                case FL_SYNCING:
                        mutex_unlock(&chip->mutex);
                        break;