summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-04 21:13:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-07 17:32:58 +0100
commitb0dbcf511c4bd10350902e79a1bdd4f5dcca66b6 (patch)
treeabb222b999fbb700ea728f010d0dace578cb7e62 /include
parentb8e6c91c74e9f0279b7c51048779b3d62da60b88 (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/smc91x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/smc91x.h b/include/linux/smc91x.h
index 3827b922ba1..ed25483d25d 100644
--- a/include/linux/smc91x.h
+++ b/include/linux/smc91x.h
@@ -18,6 +18,8 @@
struct smc91x_platdata {
unsigned long flags;
+ unsigned char leda;
+ unsigned char ledb;
};
#endif /* __SMC91X_H__ */