lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[023/107] irda: fix smsc-ircc2 section mismatch warning
    2.6.32-longterm review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Randy Dunlap <randy.dunlap@oracle.com>

    commit f470e5ae34d68880a38aa79ee5c102ebc2a1aef6 upstream.

    Fix section mismatch warning:

    WARNING: drivers/net/irda/smsc-ircc2.o(.devinit.text+0x1a7): Section mismatch in reference from the function smsc_ircc_pnp_probe() to the function .init.text:smsc_ircc_open()

    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/irda/smsc-ircc2.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/irda/smsc-ircc2.c
    +++ b/drivers/net/irda/smsc-ircc2.c
    @@ -515,7 +515,7 @@ static const struct net_device_ops smsc_
    * Try to open driver instance
    *
    */
    -static int __init smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq)
    +static int __devinit smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq)
    {
    struct smsc_ircc_cb *self;
    struct net_device *dev;



    \
     
     \ /
      Last update: 2011-11-03 02:35    [W:0.029 / U:123.520 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site