[ar71xx] update flash locking code
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-ap83.c
index c88f68a41fdfa47a77ce82d73e9618935ddd8315..8564b01a62796abc11df97e0e6d61220dd4f221d 100644 (file)
@@ -221,7 +221,7 @@ static void __init ap83_generic_setup(void)
 
 static void __init ap83_040_setup(void)
 {
-       ar71xx_flash_lock_enable();
+       ap83_flash_data.is_shared=1;
        ap83_generic_setup();
        platform_device_register(&ap83_040_spi_device);
 }