mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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>
This commit is contained in:
parent
364c517edc
commit
c7c7627770
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ static const char * const port_modes[] = {
|
||||||
* provided port mode string as per the port_modes table.
|
* provided port mode string as per the port_modes table.
|
||||||
* If no match is found it returns -ENODEV
|
* 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;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue