On 4/8/20 7:48 AM, Rayagonda Kokatanur wrote: > On Wed, Apr 8, 2020 at 9:56 AM Marek Vasut <ma...@denx.de> wrote: >> >> On 4/8/20 5:35 AM, Rayagonda Kokatanur wrote: >> [...] >>> +struct brcm_xhci_platdata { >>> + unsigned int arcache; >>> + unsigned int awcache; >>> + uintptr_t hc_base; >> >> This could be struct xhci_hccr * instead , and then you can remove the >> cast ... > > If we make it struct xhci_hccr * then I think we need to type cast in > readl and writel function. > Please let me know ?
Ah yes, that's right, then I think you want void __iomem * ?