]> git.hungrycats.org Git - linux/commitdiff
[PATCH] epca and specialix warning fixes
authorAlan Cox <alan@irongate.swansea.linux.org.uk>
Thu, 25 Jul 2002 01:27:26 +0000 (18:27 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 25 Jul 2002 01:27:26 +0000 (18:27 -0700)
Event is just used for internal flags and with set_bit for atomicity. This
kills the warning the obvious way

drivers/char/epca.h
drivers/char/specialix_io8.h

index 18cedf37c3c98b0c05c8eae89efd5951037d9919..1673ba85962146f69651f524e6654eaa836a30be 100644 (file)
@@ -121,7 +121,7 @@ struct channel
        int    close_delay;
        int    count;
        int    blocked_open;
-       int    event;
+       ulong  event;
        int    asyncflags;
        uint   dev;
        long   session;
index e2a4a224cee8a0f7f5a8ce5c564643e9855d33f8..490410f79f0a86b43242e2188c845982438fb664 100644 (file)
@@ -110,7 +110,7 @@ struct specialix_port {
        struct tty_struct       * tty;
        int                     count;
        int                     blocked_open;
-       int                     event;
+       ulong                   event;
        int                     timeout;
        int                     close_delay;
        long                    session;