]> git.sur5r.net Git - u-boot/commit
smc911x: make smc911x_initialize return correct value
authorMike Rapoport <mike@compulab.co.il>
Thu, 12 Nov 2009 13:35:08 +0000 (15:35 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Fri, 13 Nov 2009 05:25:57 +0000 (21:25 -0800)
commitfbd47b6753b08162436d9ccad1e63c8d43ede54c
tree08d7407f3b3412e2c5a5ff479b015685a29b4097
parentc44efcf97b335dcef7d014f65b7d3094e79adb13
smc911x: make smc911x_initialize return correct value

Make smc911x_initialize return -1 on error and number of interfaces
detected otherwise.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/smc911x.c