diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-12-14 08:16:03 +0200 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2011-12-16 21:00:23 +0100 |
commit | 1113a79b2a31a9051b3a1afd3edbbdf013f88833 (patch) | |
tree | 42e8ddd766cf6ad03b18ea997b4b72f6081dc926 /include/usb/ulpi.h | |
parent | 06e42c6e2ce269667daecd6229d0b7c813838203 (diff) |
USB: ULPI: switch argument type from u8 to unsigned
There is no benefit in using u8, so switch to unsigned to reduce the
binary image size (by 20 bytes).
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/usb/ulpi.h')
-rw-r--r-- | include/usb/ulpi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h index d871290871..dc78a596ae 100644 --- a/include/usb/ulpi.h +++ b/include/usb/ulpi.h @@ -41,7 +41,7 @@ int ulpi_init(u32 ulpi_viewport); * ULPI_FC_LOW_SPEED, ULPI_FC_FS4LS * returns 0 on success, ULPI_ERROR on failure. */ -int ulpi_select_transceiver(u32 ulpi_viewport, u8 speed); +int ulpi_select_transceiver(u32 ulpi_viewport, unsigned speed); /* * Enable/disable VBUS. @@ -66,7 +66,7 @@ int ulpi_set_pd(u32 ulpi_viewport, int enable); * * returns 0 on success, ULPI_ERROR on failure. */ -int ulpi_opmode_sel(u32 ulpi_viewport, u8 opmode); +int ulpi_opmode_sel(u32 ulpi_viewport, unsigned opmode); /* * Switch to Serial Mode. @@ -78,7 +78,7 @@ int ulpi_opmode_sel(u32 ulpi_viewport, u8 opmode); * Switches immediately to Serial Mode. * To return from Serial Mode, STP line needs to be asserted. */ -int ulpi_serial_mode_enable(u32 ulpi_viewport, u8 smode); +int ulpi_serial_mode_enable(u32 ulpi_viewport, unsigned smode); /* * Put PHY into low power mode. |