summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-01-02 15:59:28 +0200
committerRoger Quadros <rogerq@ti.com>2013-02-13 13:22:56 +0200
commitab3f2a86d17c5c2c1127871d28d1f64baebc5d04 (patch)
tree6550f225bbde62b78cd9ee521f512a37b391e7e3 /drivers/mfd
parenta8c4e9e1118f0a12e3a9524d8d597487d7e3476d (diff)
downloadlinux-stable-ab3f2a86d17c5c2c1127871d28d1f64baebc5d04.tar.gz
linux-stable-ab3f2a86d17c5c2c1127871d28d1f64baebc5d04.tar.bz2
linux-stable-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/mfd')
-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>");