summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-12-12 12:08:33 +0200
committerRemy Bohmer <linux@bohmer.net>2011-12-16 21:03:37 +0100
commit4256101f8ca908438ddbb5bd649274dbfd936f22 (patch)
treee5b0f8d168ee0f999f9ea06042b08c75cec6d5e6 /include
parent1113a79b2a31a9051b3a1afd3edbbdf013f88833 (diff)
downloadu-boot-imx-4256101f8ca908438ddbb5bd649274dbfd936f22.zip
u-boot-imx-4256101f8ca908438ddbb5bd649274dbfd936f22.tar.gz
u-boot-imx-4256101f8ca908438ddbb5bd649274dbfd936f22.tar.bz2
USB: ULPI: clean a mixup of return types
Clean a mixup between u32 and int as a return type for functions returning error values. Use int as it is native (and widely used) return type. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/usb/ulpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index dc78a59..802f077 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -108,7 +108,7 @@ int ulpi_reset(u32 ulpi_viewport);
*
* returns 0 on success, ULPI_ERROR on failure.
*/
-u32 ulpi_write(u32 ulpi_viewport, u8 *reg, u32 value);
+int ulpi_write(u32 ulpi_viewport, u8 *reg, u32 value);
/*
* Read the ULPI PHY register content via the viewport.