usb_drv: include specific rpi platform_session API

The rpi_usb_drv uses the rpi-specific variant of the platform_session API.
Therefore, it has to include it excplicitly.

Ref #3299
This commit is contained in:
Stefan Kalkowski 2020-05-22 12:47:16 +02:00 committed by Christian Helmuth
parent b915b0adc4
commit 935dcf8b18
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,8 @@ CC_OPT += -DINTERRUPT_VC_USB=9
CC_OPT += -DIRQF_TRIGGER_LOW=1
INC_DIR += $(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_common_port \
$(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_otg
$(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_otg \
$(call select_from_repositories,include/spec/rpi)
SRC_CC += platform.cc
vpath platform.cc $(LIB_DIR)/spec/rpi

View File

@ -5,6 +5,7 @@ REQUIRES = arm_v6
INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm
INC_DIR += $(REP_DIR)/src/include/spec/arm
INC_DIR += $(call select_from_repositories,include/spec/rpi)
SRC_CC += spec/arm/platform.cc
SRC_CC += spec/rpi/platform.cc