Commit ab3f2a86 authored by Roger Quadros's avatar Roger Quadros

mfd: omap-usb-host: get rid of build warning

Fixes the below build warning when driver is built-in.

drivers/mfd/omap-usb-host.c:750:12: warning:
‘usbhs_omap_remove’ defined but not used [-Wunused-function]
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
parent a8c4e9e1
...@@ -791,7 +791,7 @@ static struct platform_driver usbhs_omap_driver = { ...@@ -791,7 +791,7 @@ static struct platform_driver usbhs_omap_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &usbhsomap_dev_pm_ops, .pm = &usbhsomap_dev_pm_ops,
}, },
.remove = __exit_p(usbhs_omap_remove), .remove = usbhs_omap_remove,
}; };
MODULE_AUTHOR("Keshava Munegowda <keshava_mgowda@ti.com>"); MODULE_AUTHOR("Keshava Munegowda <keshava_mgowda@ti.com>");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment