[NET] smc91x: provide configurable leds

This patch provides a mechanism for platforms to be able to supply the
LED configuration via platform data, rather than having to hard code
it in smc91x.h.

Acked-by: Eric Miao <eric.y.miao@gmail.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>
This commit is contained in:
Russell King
2008-09-04 21:13:37 +01:00
committed by Russell King
parent b8e6c91c74
commit b0dbcf511c
3 changed files with 11 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
struct smc91x_platdata {
unsigned long flags;
unsigned char leda;
unsigned char ledb;
};
#endif /* __SMC91X_H__ */