OpenCloudOS-Kernel/drivers/usb/typec
Arnd Bergmann 86be7f7b2d usb: typec: include linux/device.h in ucsi.h
The new driver causes a build failure in some configurations:

In file included from /git/arm-soc/drivers/usb/typec/ucsi/trace.h:9:0,
                 from /git/arm-soc/drivers/usb/typec/ucsi/trace.c:2:
drivers/usb/typec/ucsi/ucsi.h:331:39: error: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

This includes the required header file.

Fixes: c1b0bc2dab ("usb: typec: Add support for UCSI interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 13:11:56 +02:00
..
ucsi usb: typec: include linux/device.h in ucsi.h 2017-07-17 13:11:56 +02:00
Kconfig usb: typec: Add support for UCSI interface 2017-06-27 17:55:45 +02:00
Makefile usb: typec: Add support for UCSI interface 2017-06-27 17:55:45 +02:00
typec.c usb: typec: Add a sysfs node to manage port type 2017-06-03 18:02:58 +09:00
typec_wcove.c Merge (most of) tag 'mfd-next-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd 2017-07-07 13:30:05 -07:00