[U-Boot] [PATCH] drivers/usb/host/ohci-hcd: rename readl/writel to ohci_readl/ohci_writel

Remy Bohmer linux at bohmer.net
Wed Jun 30 21:44:14 CEST 2010


Hi,

2010/6/30 Becky Bruce <beckyb at kernel.crashing.org>:
> This avoids a build warning that you see if anyone in the
> header chain has included io.h (which is coming shortly).  The previous
> code redefined readl/writel; this patch renames it to be specific to
> ohci.  The defines are also moved from ohci-hcd.c to ohci.h.
>
> Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
> ---
> Remy,
>
> My apologies - I totally zoned out on this.  Anyway, hopefully this is better.
> I changed readl/writel to ohci_readl/writel as you suggest.  There are a few
> other minor changes to avoid going over 80 characters per line.....
>
> I've built and booted this on 8641HPCN.

Applied to u-boot-usb. Thanks.

Kind regards,

Remy


More information about the U-Boot mailing list