usb: ehci: fix include/usb/usb.h:'struct usb_configuration' misuse
See the commit

    commit 245069b
    Author: Sascha Hauer <s.hauer@pengutronix.de>
    Date:   Thu Jul 10 11:36:12 2014 +0200

        USB: introduce usb_interface/usb_configuration structs

On little endian systems like ARM the le16_to_cpus() macro
is a no op, defined as:

    #define le16_to_cpus __le16_to_cpus
    #define __le16_to_cpus(x) do {} while (0)

So struct usb_configuration field misuse was discovered
on big-endian MIPS machine.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 069031f commit eeab50e9619c1922649bb3d9d9da8241f84d81e1
@Antony Pavlov Antony Pavlov authored on 1 Sep 2015
Sascha Hauer committed on 2 Sep 2015
Showing 1 changed file
View
drivers/usb/core/usb.c