UPSTREAM: usb: dwc3: Fix a compilation error with the edison defconfig

The error is:
In file included from include/part.h:10:0,
                 from include/usb.h:18,
                 from include/linux/usb/gadget.h:22,
                 from drivers/usb/dwc3/ep0.c:20:
include/ide.h:62:14: error: unknown type name ‘uchar’
 void ide_led(uchar led, uchar status);

Fixing it by including common.h that defines the uchar type.

Change-Id: I97a5eabe32e03709a7e2800cd6ee8adf186daa76
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 4d3825c1915e1649c4be0320e74be158e4698655)
This commit is contained in:
Jean-Jacques Hiblot 2018-11-29 10:52:50 +01:00 committed by Frank Wang
parent c08fbf4621
commit dc627159e2
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
*
* SPDX-License-Identifier: GPL-2.0
*/
#include <common.h>
#include <linux/kernel.h>
#include <linux/list.h>