coco3: move devtty_init() to .discard section, clean up whitespace.
authorBrett Gordon <beretta42@gmail.com>
Sun, 6 Mar 2016 18:53:41 +0000 (13:53 -0500)
committerBrett Gordon <beretta42@gmail.com>
Sun, 6 Mar 2016 18:53:41 +0000 (13:53 -0500)
Kernel/platform-coco3/devtty.c

index 84d5553..bfeb549 100644 (file)
@@ -510,9 +510,10 @@ inval:     udata.u_error = EINVAL;
 
 uint8_t rgb_def_pal[16]={
        0, 8, 32, 40, 16, 24, 48, 63,
-       0, 8, 32, 40, 16, 24, 48, 63    
+       0, 8, 32, 40, 16, 24, 48, 63
 };
 
+__attribute__((section(".discard")))
 void devtty_init()
 {
        int i;