msx1: move platform_discard into the right place
authorAlan Cox <alan@linux.intel.com>
Sun, 7 Apr 2019 12:23:21 +0000 (13:23 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 7 Apr 2019 12:23:21 +0000 (13:23 +0100)
It might otherwise discard itself once we add the recovery logic

Kernel/platform-msx1/discard.c
Kernel/platform-msx1/main.c

index b8b1c37..c18fbd7 100644 (file)
@@ -78,12 +78,6 @@ void map_init(void)
   copy_vectors();
 }
 
-
-void platform_discard(void)
-{
-    /* Until we tackle the buffers */
-}
-
 /*
  *     This function is called for partitioned devices if a partition is found
  *     and marked as swap type. The first one found will be used as swap. We
index 150ab17..9917083 100644 (file)
@@ -40,3 +40,7 @@ void platform_interrupt(void)
         }
 }
 
+void platform_discard(void)
+{
+    /* Until we tackle the buffers */
+}