r8169: fix early spinlock use
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 9 Oct 2008 21:35:58 +0000 (14:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 21:35:58 +0000 (14:35 -0700)
commitdf58ef51caea073f4b45857c51f445f65267dac7
tree5168c80b15861603e1c7e3c530aa984039dc967d
parent1d74a6bddf647285e7aa4e9ca4ec16eb071dfd95
r8169: fix early spinlock use

rtl8169_init_one
-> rtl_init_mac_address
   -> rtl_rar_set
      -> spin_lock_irq(&tp->lock);
[...]
-> spin_lock_init(&tp->lock);

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c