diff options
author | Phil Elwell <phil@raspberrypi.com> | 2021-06-08 13:00:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-10 13:37:11 +0200 |
commit | fe4e0bd4c26c8d81bd352ef8a5fa1afc4cba06b4 (patch) | |
tree | 690506b9a524482e09e3e4f11ee632673099827c /init | |
parent | 920697b004e49cb026e2e15fe91be065bf0741b7 (diff) |
usb: dwc2: Fix build in periphal-only mode
In branches to which 24d209dba5a3 ("usb: dwc2: Fix hibernation between
host and device modes.") has been back-ported, the bus_suspended member
of struct dwc2_hsotg is only present in builds that support host-mode.
To avoid having to pull in several more non-Fix commits in order to
get it to compile, wrap the usage of the member in a macro conditional.
Fixes: 24d209dba5a3 ("usb: dwc2: Fix hibernation between host and device modes.")
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions