]> err.no Git - linux-2.6/blobdiff - arch/ppc/platforms/prep_setup.c
[PACKET]: Fix sparse warnings in af_packet.c
[linux-2.6] / arch / ppc / platforms / prep_setup.c
index 6436beffdc9688d6cd56855180957e10008963e5..3c56654bfc6f28580a42a7e4cc4a043dcd8e300d 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/slab.h>
 #include <linux/user.h>
 #include <linux/a.out.h>
-#include <linux/tty.h>
+#include <linux/screen_info.h>
 #include <linux/major.h>
 #include <linux/interrupt.h>
 #include <linux/reboot.h>
@@ -69,9 +69,6 @@
 
 TODC_ALLOC();
 
-unsigned char ucBoardRev;
-unsigned char ucBoardRevMaj, ucBoardRevMin;
-
 extern unsigned char prep_nvram_read_val(int addr);
 extern void prep_nvram_write_val(int addr,
                                 unsigned char val);
@@ -593,7 +590,7 @@ static void __init prep_init_sound(void)
        PPC_DEVICE *audiodevice = NULL;
 
        /*
-        * Get the needed resource informations from residual data.
+        * Get the needed resource information from residual data.
         *
         */
        if (have_residual_data)
@@ -632,9 +629,9 @@ static void __init prep_init_sound(void)
        }
 
        /*
-        * Find a way to push these informations to the cs4232 driver
+        * Find a way to push this information to the cs4232 driver
         * Give it out with printk, when not in cmd_line?
-        * Append it to  cmd_line and saved_command_line?
+        * Append it to cmd_line and boot_command_line?
         * Format is cs4232=io,irq,dma,dma2
         */
 }
@@ -897,7 +894,7 @@ prep_setup_arch(void)
                 if (bootargs != NULL) {
                         strcpy(cmd_line, bootargs);
                         /* again.. */
-                        strcpy(saved_command_line, cmd_line);
+                        strcpy(boot_command_line, cmd_line);
                }
        }