[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:
committed by
Russell King
parent
b8e6c91c74
commit
b0dbcf511c
@@ -18,6 +18,8 @@
|
||||
|
||||
struct smc91x_platdata {
|
||||
unsigned long flags;
|
||||
unsigned char leda;
|
||||
unsigned char ledb;
|
||||
};
|
||||
|
||||
#endif /* __SMC91X_H__ */
|
||||
|
Reference in New Issue
Block a user