On Wed, Jul 13, 2005 at 03:21:34AM +0400, Alexey Dobriyan wrote: > > + if (le16_to_cpu(ov7630.usbdev->descriptor.idProduct) != 0x608f && > > + le16_to_cpu(ov7630.usbdev->descriptor.idProduct) != 0x602c) > > You can switch to cpu_to_le16(). Those on the right side are constants.
Hmm. Aren't USB descriptors in their native endian? ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel