summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-01-02 14:59:28 +0100
committerRoger Quadros <rogerq@ti.com>2013-02-13 12:22:56 +0100
commitab3f2a86d17c5c2c1127871d28d1f64baebc5d04 (patch)
tree6550f225bbde62b78cd9ee521f512a37b391e7e3 /drivers
parentmfd: omap-usb-host: Don't spam console on clk_set_parent failure (diff)
downloadlinux-ab3f2a86d17c5c2c1127871d28d1f64baebc5d04.tar.xz
linux-ab3f2a86d17c5c2c1127871d28d1f64baebc5d04.zip
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: Roger Quadros <rogerq@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/omap-usb-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index b21ca760b1bd..6b5edf64de2b 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -791,7 +791,7 @@ static struct platform_driver usbhs_omap_driver = {
.owner = THIS_MODULE,
.pm = &usbhsomap_dev_pm_ops,
},
- .remove = __exit_p(usbhs_omap_remove),
+ .remove = usbhs_omap_remove,
};
MODULE_AUTHOR("Keshava Munegowda <keshava_mgowda@ti.com>");