diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-09-14 12:04:43 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 15:48:05 +0100 |
commit | c7c76277702c8da9ad9914ade7a4c60a7dcd2c0b (patch) | |
tree | 8f3fad316630ad7237c5599b5b97d4fd7b66e213 /drivers/mfd/omap-usb-host.c | |
parent | 364c517edc3f1ebeeb6960711628b2340bb904be (diff) | |
download | linux-c7c76277702c8da9ad9914ade7a4c60a7dcd2c0b.tar.bz2 |
mfd: omap-usb-host: Return value is not 'const int'
Change from 'const int' to just 'int'.
Cc: <robh+dt@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 1d924d1533c0..7aab376ecb84 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -162,7 +162,7 @@ static const char * const port_modes[] = { * provided port mode string as per the port_modes table. * If no match is found it returns -ENODEV */ -static const int omap_usbhs_get_dt_port_mode(const char *mode) +static int omap_usbhs_get_dt_port_mode(const char *mode) { int i; |