Skip to content

Commit

Permalink
mfd: omap-usb-host: Return value is not 'const int'
Browse files Browse the repository at this point in the history
Change from 'const int' to just 'int'.

Cc: <robh+dt@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Lee Jones committed Oct 4, 2016
1 parent 364c517 commit c7c7627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/omap-usb-host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c7c7627

Please sign in to comment.