]> Pileus Git - ~andy/linux/blobdiff - drivers/serial/8250.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6
[~andy/linux] / drivers / serial / 8250.c
index 30a0a3d1014527b991025958b7a2d36ab98cdac7..4d75cdfa0a0af00bd928faae571008dcbac4d0a2 100644 (file)
@@ -864,7 +864,7 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
        /*
         * We're pretty sure there's a port here.  Lets find out what
         * type of port it is.  The IIR top two bits allows us to find
-        * out if its 8250 or 16450, 16550, 16550A or later.  This
+        * out if it's 8250 or 16450, 16550, 16550A or later.  This
         * determines what we test for next.
         *
         * We also initialise the EFR (if any) to zero for later.  The
@@ -2536,7 +2536,7 @@ static int __init serial8250_init(void)
                goto out;
 
        serial8250_isa_devs = platform_device_register_simple("serial8250",
-                                                             -1, NULL, 0);
+                                        PLAT8250_DEV_LEGACY, NULL, 0);
        if (IS_ERR(serial8250_isa_devs)) {
                ret = PTR_ERR(serial8250_isa_devs);
                goto unreg;