projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364c517
)
mfd: omap-usb-host: Return value is not 'const int'
author
Lee Jones
<lee.jones@linaro.org>
Wed, 14 Sep 2016 11:04:43 +0000
(12:04 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:05 +0000
(15:48 +0100)
Change from 'const int' to just 'int'.
Cc: <robh+dt@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/omap-usb-host.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/omap-usb-host.c
b/drivers/mfd/omap-usb-host.c
index 1d924d1533c02756124dffe1262e4333ed9b6b5f..7aab376ecb848e1d4a95ed2e76d9782c7c60693a 100644
(file)
--- 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;