From 4256101f8ca908438ddbb5bd649274dbfd936f22 Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Mon, 12 Dec 2011 12:08:33 +0200 Subject: 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 Acked-by: Simon Glass --- include/usb/ulpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/usb') 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. -- cgit v1.1