[2.6 patch] make e1000_dump_eeprom() static - Kernel

This is a discussion on [2.6 patch] make e1000_dump_eeprom() static - Kernel ; This patch makes the needlessly global e1000_dump_eeprom() static. Signed-off-by: Adrian Bunk --- b5fd924a1388d4aaa94cf05e42e317c2b1fb5748 diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 7f5b2ae..8a6645b 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -820,7 +820,7 @@ e1000_reset(struct e1000_adapter *adapter) /** * Dump the eeprom for users having checksum ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [2.6 patch] make e1000_dump_eeprom() static

  1. [2.6 patch] make e1000_dump_eeprom() static

    This patch makes the needlessly global e1000_dump_eeprom() static.

    Signed-off-by: Adrian Bunk

    ---
    b5fd924a1388d4aaa94cf05e42e317c2b1fb5748
    diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
    index 7f5b2ae..8a6645b 100644
    --- a/drivers/net/e1000/e1000_main.c
    +++ b/drivers/net/e1000/e1000_main.c
    @@ -820,7 +820,7 @@ e1000_reset(struct e1000_adapter *adapter)
    /**
    * Dump the eeprom for users having checksum issues
    **/
    -void e1000_dump_eeprom(struct e1000_adapter *adapter)
    +static void e1000_dump_eeprom(struct e1000_adapter *adapter)
    {
    struct net_device *netdev = adapter->netdev;
    struct ethtool_eeprom eeprom;

    --
    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/

  2. Re: [2.6 patch] make e1000_dump_eeprom() static

    Adrian Bunk wrote:
    > This patch makes the needlessly global e1000_dump_eeprom() static.
    >
    > Signed-off-by: Adrian Bunk


    yes, thanks, I'll push it to Jeff.

    Auke

    >
    > ---
    > b5fd924a1388d4aaa94cf05e42e317c2b1fb5748
    > diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
    > index 7f5b2ae..8a6645b 100644
    > --- a/drivers/net/e1000/e1000_main.c
    > +++ b/drivers/net/e1000/e1000_main.c
    > @@ -820,7 +820,7 @@ e1000_reset(struct e1000_adapter *adapter)
    > /**
    > * Dump the eeprom for users having checksum issues
    > **/
    > -void e1000_dump_eeprom(struct e1000_adapter *adapter)
    > +static void e1000_dump_eeprom(struct e1000_adapter *adapter)
    > {
    > struct net_device *netdev = adapter->netdev;
    > struct ethtool_eeprom eeprom;
    >


    --
    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/

+ Reply to Thread