git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irda-usb endianness annotations and fixes
[safe/jmp/linux-2.6]
/
drivers
/
net
/
irda
/
irda-usb.c
diff --git
a/drivers/net/irda/irda-usb.c
b/drivers/net/irda/irda-usb.c
index
9081234
..
6f50ed7
100644
(file)
--- a/
drivers/net/irda/irda-usb.c
+++ b/
drivers/net/irda/irda-usb.c
@@
-1120,7
+1120,7
@@
static int stir421x_patch_device(struct irda_usb_cb *self)
}
}
- if (self->usbdev->descriptor.bcdDevice ==
fw_version
) {
+ if (self->usbdev->descriptor.bcdDevice ==
cpu_to_le16(fw_version)
) {
/*
* If we're here, we've found a correct patch
* The actual image starts after the "STMP" keyword