]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/serial/sunhv.c
Merge branch 'linus' into x86/urgent
[karo-tx-linux.git] / drivers / serial / sunhv.c
index e41766d08035643e18b72a2cfb88bf471355d885..1df5325faab2605d9be2bdcd2bc470981049459c 100644 (file)
@@ -461,7 +461,7 @@ static void sunhv_console_write_paged(struct console *con, const char *s, unsign
                                        break;
                                udelay(1);
                        }
-                       if (limit <= 0)
+                       if (limit < 0)
                                break;
                        page_bytes -= written;
                        ra += written;
@@ -616,7 +616,7 @@ static int __devexit hv_remove(struct of_device *dev)
        return 0;
 }
 
-static struct of_device_id hv_match[] = {
+static const struct of_device_id hv_match[] = {
        {
                .name = "console",
                .compatible = "qcn",