diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 06:23:57 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 06:23:57 -0400 |
commit | 440fdb53b4ae58602711b5b8c3a139ace2404dbb (patch) | |
tree | c6fb88d6ad537ec53aeecadc75a61ab6147d4c9c /drivers/net/bfin_mac.c | |
parent | 8b2b403ce0f1a816b7a6a4f47c8798003b26c07a (diff) | |
parent | 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r-- | drivers/net/bfin_mac.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 9a08d656f1ce..2bb97d464689 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c | |||
@@ -798,6 +798,7 @@ static void bf537mac_shutdown(struct net_device *dev) | |||
798 | */ | 798 | */ |
799 | static int bf537mac_open(struct net_device *dev) | 799 | static int bf537mac_open(struct net_device *dev) |
800 | { | 800 | { |
801 | int retval; | ||
801 | pr_debug("%s: %s\n", dev->name, __FUNCTION__); | 802 | pr_debug("%s: %s\n", dev->name, __FUNCTION__); |
802 | 803 | ||
803 | /* | 804 | /* |
@@ -811,7 +812,10 @@ static int bf537mac_open(struct net_device *dev) | |||
811 | } | 812 | } |
812 | 813 | ||
813 | /* initial rx and tx list */ | 814 | /* initial rx and tx list */ |
814 | desc_list_init(); | 815 | retval = desc_list_init(); |
816 | |||
817 | if (retval) | ||
818 | return retval; | ||
815 | 819 | ||
816 | bf537mac_setphy(dev); | 820 | bf537mac_setphy(dev); |
817 | setup_system_regs(dev); | 821 | setup_system_regs(dev); |