]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET] smc91x: favor the use of SMC91X_USE_* instead of SMC_CAN_USE_*
authorEric Miao <eric.miao@marvell.com>
Thu, 19 Jun 2008 09:19:57 +0000 (17:19 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 12 Jul 2008 20:52:40 +0000 (21:52 +0100)
commitfa6d3be08538bb80274d20c7e59f9beca48fa44a
tree9f5df8e61bac1138d971d323472f2d4fbf3ca87b
parentd280eadc4fba0bf99fb1c3b60e8c5e007f7da02c
[NET] smc91x: favor the use of SMC91X_USE_* instead of SMC_CAN_USE_*

Let's simplify the logic and avoid confusion, the use of SMC91X_USE_*
is favored than SMC_CAN_USE_*, if platform data isn't given, convert
the hardcoded SMC_CAN_USE_* to SMC91X_USE_*.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/smc91x.c
drivers/net/smc91x.h