]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/applicom.c
applicom.c: fix apparently-broken code in do_ac_read()
[linux-2.6-omap-h63xx.git] / drivers / char / applicom.c
index b899d9182c7dec0b0b03e2857b680a30806cf12e..05674febb0c6bff218d2c76373402e7fcf0e1f58 100644 (file)
@@ -478,7 +478,7 @@ static int do_ac_read(int IndexCard, char __user *buf,
                struct st_ram_io *st_loc, struct mailbox *mailbox)
 {
        void __iomem *from = apbs[IndexCard].RamIO + RAM_TO_PC;
-       unsigned char *to = (unsigned char *)&mailbox;
+       unsigned char *to = (unsigned char *)mailbox;
 #ifdef DEBUG
        int c;
 #endif