diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-01-18 10:09:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 16:10:43 +0300 |
commit | baef5330d35b477056c0304ce1283f0aed4d5d20 (patch) | |
tree | 212877fcedfca65750f571378cfc15f7a25aecd9 /drivers/usb/fotg210/fotg210-hcd.h | |
parent | 170da81aab077c9e85fc2b786413ca07942774a0 (diff) | |
download | linux-baef5330d35b477056c0304ce1283f0aed4d5d20.tar.xz |
usb: fotg210: Acquire memory resource in core
The subdrivers are obtaining and mapping the memory resource
separately. Create a common state container for the shared
resources and start populating this by acquiring the IO
memory resource and remap it and pass this to the subdrivers
for host and peripheral.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230103-gemini-fotg210-usb-v2-3-100388af9810@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/fotg210/fotg210-hcd.h')
-rw-r--r-- | drivers/usb/fotg210/fotg210-hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/fotg210/fotg210-hcd.h b/drivers/usb/fotg210/fotg210-hcd.h index 0781442b7a24..13c9342982ee 100644 --- a/drivers/usb/fotg210/fotg210-hcd.h +++ b/drivers/usb/fotg210/fotg210-hcd.h @@ -182,6 +182,7 @@ struct fotg210_hcd { /* one per controller */ # define INCR(x) do {} while (0) #endif + struct fotg210 *fotg; /* Overarching FOTG210 device */ /* silicon clock */ struct clk *pclk; }; |