Skip to content
  • David S. Miller's avatar
    gianfar: Fix build. · d9d8e041
    David S. Miller authored
    Reported by Michael Guntsche <mike@it-loops.com>
    
    --------------------
    Commit
    38bddf04
    
     gianfar: gfar_remove needs to call unregister_netdev()
    
    breaks the build of the gianfar driver because "dev" is undefined in
    this function. To quickly test rc9 I changed this to priv->ndev but I do
    not know if this is the correct one.
    --------------------
    
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d9d8e041