[FIX] Master: modules uninitialization order 03/41003/2
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 10 Jun 2015 14:34:38 +0000 (17:34 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Thu, 11 Jun 2015 08:52:16 +0000 (11:52 +0300)
Change-Id: Ie033951d0fb78b2cce694af70c791a5ce69a2bbd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
master/swap_initializer.c

index b9c65a2..16c39bb 100644 (file)
@@ -179,7 +179,7 @@ static void do_uninit_level(enum init_level level)
 {
        struct swap_init_struct *init;
 
-       list_for_each_entry(init, &init_list, list)
+       list_for_each_entry_reverse(init, &init_list, list)
                sis_uninit_level(init, level);
 }