powerpc: Make open count variables signed in hvcs/hvsi/hvc_console
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / char / hvsi.c
index 59c6f9ab94e4b279700ff1f50f1f39ae02b54fa2..af055287271a6f4a27b9f15136d5ab5e96dee2cc 100644 (file)
@@ -75,7 +75,7 @@ struct hvsi_struct {
        spinlock_t lock;
        int index;
        struct tty_struct *tty;
-       unsigned int count;
+       int count;
        uint8_t throttle_buf[128];
        uint8_t outbuf[N_OUTBUF]; /* to implement write_room and chars_in_buffer */
        /* inbuf is for packet reassembly. leave a little room for leftovers. */