lkml.org 
[lkml]   [2010]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/11] serial: altera_uart: Proper section for altera_uart_remove
    Date
    From: Tobias Klauser <tklauser@distanz.ch>

    altera_uart_remove should be in .devexit.text

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    drivers/serial/altera_uart.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c
    index 7d6afc9..0f11896 100644
    --- a/drivers/serial/altera_uart.c
    +++ b/drivers/serial/altera_uart.c
    @@ -498,7 +498,7 @@ static int __devinit altera_uart_probe(struct platform_device *pdev)
    return 0;
    }

    -static int altera_uart_remove(struct platform_device *pdev)
    +static int __devexit altera_uart_remove(struct platform_device *pdev)
    {
    struct uart_port *port;
    int i;
    --
    1.7.1


    \
     
     \ /
      Last update: 2010-06-04 22:53    [W:0.017 / U:65.288 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site