lkml.org 
[lkml]   [2013]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v7 22/22] mdf: omap-usb-host: get rid of build warning
    Date
    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>
    ---
    drivers/mfd/omap-usb-host.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
    index a1f73dc..b726a74 100644
    --- a/drivers/mfd/omap-usb-host.c
    +++ b/drivers/mfd/omap-usb-host.c
    @@ -778,7 +778,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>");
    --
    1.7.4.1
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-01-17 13:01    [W:4.029 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site