]> git.hungrycats.org Git - linux/commitdiff
[PATCH] m68knommu: change addr type to reduce casting in ColdFire serial driver
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 02:23:56 +0000 (19:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 02:23:56 +0000 (19:23 -0700)
From: <gerg@snapgear.com>

Change "addr" field type to reduce casting in ColdFire serial driver.

drivers/serial/mcfserial.h

index ef3fb8321333fcffc89e813e2689df606db7bfab..a2b28e8629f92885d9328dae768ba0ab4374f7eb 100644 (file)
@@ -40,7 +40,7 @@ struct mcf_stats {
 
 struct mcf_serial {
        int                     magic;
-       unsigned int            addr;           /* UART memory address */
+       volatile unsigned char  *addr;          /* UART memory address */
        int                     irq;
        int                     flags;          /* defined in tty.h */
        int                     type;           /* UART type */