USB: wusb: annotate association types withe proper endianness
[linux-2.6.git] / drivers / usb / wusbcore / rh.c
index 95c6fa3bf6b24e7541d2185caabdfebd8c9781a3..3937bf6f8cefcb4fdf3a9e7ec07eb70058f335d5 100644 (file)
@@ -326,7 +326,7 @@ static int wusbhc_rh_clear_port_feat(struct wusbhc *wusbhc, u16 feature,
 static int wusbhc_rh_get_port_status(struct wusbhc *wusbhc, u16 port_idx,
                                     u32 *_buf, u16 wLength)
 {
-       u16 *buf = (u16 *) _buf;
+       __le16 *buf = (__le16 *)_buf;
 
        if (port_idx > wusbhc->ports_max)
                return -EINVAL;