diff options
author | Sanjeev Premi <premi@ti.com> | 2011-01-07 13:40:14 +0530 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-07 10:14:02 +0100 |
commit | 1c267b02afaecb3c26eb6f386a1b05d010b38355 (patch) | |
tree | 76fbb8fc12572dca5a533673f06a5d8cf7174e6f | |
parent | f39d4d225ebdfdf5c2435e9895355c6b5fc74973 (diff) | |
download | barebox-1c267b02afaecb3c26eb6f386a1b05d010b38355.tar.gz barebox-1c267b02afaecb3c26eb6f386a1b05d010b38355.tar.xz |
omap: echi: fix compile error
This patch fixes the compiler error:
CC drivers/usb/host/ehci-omap.o
drivers/usb/host/ehci-omap.c: In function 'ehci_omap_init':
drivers/usb/host/ehci-omap.c:204: error: 'CPU_ES2P1' undeclar
ed (first use in this function)
drivers/usb/host/ehci-omap.c:204: error: (Each undeclared ide
ntifier is reported only once
drivers/usb/host/ehci-omap.c:204: error: for each function it
appears in.)
make[3]: *** [drivers/usb/host/ehci-omap.o] Error 1
Problem reported by: Cory Walker (cwalker32@gmail.com)
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 05f1628fab..94aa356dd3 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -201,7 +201,7 @@ int ehci_omap_init(struct omap_hcd *omap) v &= ~OMAP_UHH_HOSTCONFIG_P3_CONNECT_STATUS; /* Bypass the TLL module for PHY mode operation */ - if (get_cpu_rev() <= CPU_ES2P1) { + if (get_cpu_rev() <= OMAP34XX_ES2_1) { if ((omap->port_mode[0] == EHCI_HCD_OMAP_MODE_PHY) || (omap->port_mode[1] == EHCI_HCD_OMAP_MODE_PHY) || (omap->port_mode[2] == EHCI_HCD_OMAP_MODE_PHY)) |