Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/mfd/omap-usb-host.c
··· 162 162 * provided port mode string as per the port_modes table. 163 163 * If no match is found it returns -ENODEV 164 164 */ 165 - static const int omap_usbhs_get_dt_port_mode(const char *mode) 165 + static int omap_usbhs_get_dt_port_mode(const char *mode) 166 166 { 167 167 int i; 168 168