X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fmfd%2Fomap-usb-host.c;h=7aab376ecb848e1d4a95ed2e76d9782c7c60693a;hb=997b611baf7591ea5119539ee821a3e2f4fcf24e;hp=1d924d1533c02756124dffe1262e4333ed9b6b5f;hpb=f9de73426c69ec3357c31a10af5f5acb037dbbaa;p=cascardo%2Flinux.git 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;