trs80m1: move platform_param into discard
authorAlan Cox <alan@linux.intel.com>
Fri, 10 Aug 2018 23:52:03 +0000 (00:52 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 10 Aug 2018 23:52:03 +0000 (00:52 +0100)
We don't need it after boot and we are going to add some options here soon

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

index c6e1f37..6f54b65 100644 (file)
@@ -64,3 +64,10 @@ void pagemap_init(void)
  else
   pagemap_init_supermem();
 }
+
+uint8_t platform_param(char *p)
+{
+    used(p);
+    return 0;
+}
+
index d86f60b..38a35a0 100644 (file)
@@ -36,12 +36,6 @@ void do_beep(void)
 {
 }
 
-uint8_t platform_param(char *p)
-{
-    used(p);
-    return 0;
-}
-
 /* Work around SDCC bugs */
 uint8_t sdcc_bug_2753(uint8_t v) __z88dk_fastcall
 {