]> git.hungrycats.org Git - linux/commitdiff
ia64: Don't mix code and declarations (not C90-compliant).
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 17 Oct 2003 15:58:27 +0000 (08:58 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 17 Oct 2003 15:58:27 +0000 (08:58 -0700)
arch/ia64/kernel/setup.c

index e23681b9dad59343e8e465022805d46573c33f0d..bc799b5d9ae0021684c4255351de84aaee75b83e 100644 (file)
@@ -327,9 +327,11 @@ setup_arch (char **cmdline_p)
         * because we don't *really* know whether there's anything there, but we hope that
         * all new boxes will implement HCDP.
         */
-       extern unsigned char acpi_legacy_devices;
-       if (!efi.hcdp && acpi_legacy_devices)
-               setup_serial_legacy();
+       {
+               extern unsigned char acpi_legacy_devices;
+               if (!efi.hcdp && acpi_legacy_devices)
+                       setup_serial_legacy();
+       }
 #endif
 
 #ifdef CONFIG_VT