lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 22/34] don't use __devexit_p to wrap sgiseeq_remove
    Date
    The function sgiseeq_remove is defined using __exit, so don't use
    __devexit_p but __exit_p to wrap it.

    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Wang Chen <wangchen@cn.fujitsu.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Patrick McHardy <kaber@trash.net>
    Cc: netdev@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    ---
    drivers/net/sgiseeq.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
    index ecf3279..f4dfd1f 100644
    --- a/drivers/net/sgiseeq.c
    +++ b/drivers/net/sgiseeq.c
    @@ -826,7 +826,7 @@ static int __exit sgiseeq_remove(struct platform_device *pdev)

    static struct platform_driver sgiseeq_driver = {
    .probe = sgiseeq_probe,
    - .remove = __devexit_p(sgiseeq_remove),
    + .remove = __exit_p(sgiseeq_remove),
    .driver = {
    .name = "sgiseeq",
    .owner = THIS_MODULE,
    --
    1.6.4.3
    --
    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: 2009-10-01 10:33    [W:4.120 / U:1.660 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site