projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d596d
)
[PATCH] gigaset: endian fix
author
Alexey Dobriyan
<
[email protected]
>
Mon, 15 May 2006 16:44:35 +0000
(09:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 15 May 2006 18:20:57 +0000
(11:20 -0700)
Signed-off-by: Alexey Dobriyan <
[email protected]
>
Cc: Hansjoerg Lipp <
[email protected]
>
Cc: Tilman Schmidt <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/isdn/gigaset/usb-gigaset.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/gigaset/usb-gigaset.c
b/drivers/isdn/gigaset/usb-gigaset.c
index bfb73fd5077e85aa148a48dbbf5165f5185c5c19..d86ab68114b0c7848126661c2009816658093c9d 100644
(file)
--- a/
drivers/isdn/gigaset/usb-gigaset.c
+++ b/
drivers/isdn/gigaset/usb-gigaset.c
@@
-710,8
+710,8
@@
static int gigaset_probe(struct usb_interface *interface,
retval = -ENODEV; //FIXME
/* See if the device offered us matches what we can accept */
- if ((le16_to_cpu(udev->descriptor.idVendor
!= USB_M105_VENDOR_ID)
) ||
- (le16_to_cpu(udev->descriptor.idProduct
!= USB_M105_PRODUCT_ID)
))
+ if ((le16_to_cpu(udev->descriptor.idVendor
) != USB_M105_VENDOR_ID
) ||
+ (le16_to_cpu(udev->descriptor.idProduct
) != USB_M105_PRODUCT_ID
))
return -ENODEV;
/* this starts to become ascii art... */