]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/irda/mcs7780.c
Merge branch 'v2.6.24-rc1-lockdep' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-omap-h63xx.git] / drivers / net / irda / mcs7780.c
index bfc57525bd6a8f6a68b4997b6b6683b8e28970e6..0b769192d4ce0753c872410c601a1e2eb4849a8e 100644 (file)
@@ -464,7 +464,7 @@ static void mcs_unwrap_fir(struct mcs_cb *mcs, __u8 *buf, int len)
        }
 
        fcs = ~(crc32_le(~0, buf, new_len));
-       if(fcs != le32_to_cpu(get_unaligned((u32 *)(buf+new_len)))) {
+       if(fcs != le32_to_cpu(get_unaligned((__le32 *)(buf+new_len)))) {
                IRDA_ERROR("crc error calc 0x%x len %d\n", fcs, new_len);
                mcs->stats.rx_errors++;
                mcs->stats.rx_crc_errors++;
@@ -898,8 +898,6 @@ static int mcs_probe(struct usb_interface *intf,
 
        IRDA_DEBUG(1, "MCS7780 USB-IrDA bridge found at %d.\n", udev->devnum);
 
-       /* what is it realy for? */
-       SET_MODULE_OWNER(ndev);
        SET_NETDEV_DEV(ndev, &intf->dev);
 
        ret = usb_reset_configuration(udev);