lkml.org 
[lkml]   [2005]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC] fix compilation in mcp-core.c
    Hi!

    I had to do this to get mcp-core to compile, but it feels wrong. Where
    do I get device_unregister_wait?
    Pavel


    diff --git a/drivers/misc/mcp-core.c b/drivers/misc/mcp-core.c
    --- a/drivers/misc/mcp-core.c
    +++ b/drivers/misc/mcp-core.c
    @@ -198,7 +198,7 @@ int mcp_host_register(struct mcp *mcp, s

    void mcp_host_unregister(struct mcp *mcp)
    {
    - device_unregister_wait(&mcp->attached_device);
    + device_unregister(&mcp->attached_device);
    }

    int mcp_driver_register(struct mcp_driver *mcpdrv)
    --
    teflon -- maybe it is a trademark, but it should not be.
    -
    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: 2005-07-26 09:38    [W:0.024 / U:0.464 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site