]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/m437.c
Merge branch 'master' into can-usb1
[lincan.git] / lincan / src / m437.c
index 00ac7c3ea9b43bec2fed349120675c29c248be38..f72943a4516bebc7134eb2904cd5efb1aa05dd65 100644 (file)
@@ -71,8 +71,10 @@ int m437_request_io(struct candevice_t *candev)
                return -ENODEV;
 
        }
-       CANMSG("M437 Registered IO-memory: 0x%lx - 0x%lx\n", candev->io_addr, candev->io_addr + IO_RANGE - 1);
-       CANMSG("M437 IO-memory: 0x%lx  Remapped to: 0x%lx\n", candev->io_addr, remap_addr);
+       CANMSG("M437 Registered IO-memory: 0x%lx - 0x%lx\n",
+               candev->io_addr, candev->io_addr + IO_RANGE - 1);
+       CANMSG("M437 IO-memory: 0x%lx  Remapped to: 0x%lx\n",
+               (unsigned long)candev->io_addr, (unsigned long)remap_addr);
 
        /* remap the chip and pointers on objects */
        can_base_addr_fixup(candev, remap_addr);