From: Marek Vasut Date: Sat, 16 Jun 2018 02:12:43 +0200 Subject: [U-Boot] [PATCH v2] usb: sunxi: access ahb_reset0_cfg in CCM using its offset In-Reply-To: References: <20180614061934.15141-1-anarsoul@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/16/2018 01:45 AM, Vasily Khoruzhick wrote: > On Wed, Jun 13, 2018 at 11:19 PM, Vasily Khoruzhick wrote: >> struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i, >> thus compilation fails with: >> >> drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has >> no member named 'ahb_reset0_cfg' >> >> Access this reg using its offset to fix this issue. >> >> Fixes commit 1ed9c1118 ("usb: sunxi: ehci: get rid of ifdefs") >> and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs") >> >> Signed-off-by: Vasily Khoruzhick > > Any feedback? I'll just apply this. -- Best regards, Marek Vasut