/* Some Atmel chips (e.g. the AT49BV6416) power-up with all sectors locked by default.  */
static void fixup_use_atmel_lock(struct mtd_info *mtd, void *param)
/* Some Atmel chips (e.g. the AT49BV6416) power-up with all sectors locked by default.  */
static void fixup_use_atmel_lock(struct mtd_info *mtd, void *param)
{
	mtd->lock = cfi_atmel_lock;
	mtd->unlock = cfi_atmel_unlock;
	mtd->flags |= MTD_POWERUP_LOCK;
}