subsys: usb_device: Fix removal of board.h

Restore including board.h to get USB_VUSB_EN_GPIO and associate defines
if the board.h sets them.  This should move to device tree in the
future.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-01 07:26:05 -05:00 committed by Kumar Gala
parent cf063fe85b
commit f05888446d

View File

@ -61,6 +61,7 @@
#include <misc/util.h>
#include <misc/__assert.h>
#include <init.h>
#include <board.h>
#if defined(USB_VUSB_EN_GPIO)
#include <gpio.h>
#endif