aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-04 16:13:37 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-07 12:32:58 -0400
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 3827b922ba1f..ed25483d25d9 100644
--- a/include/linux/smc91x.h
+++ b/include/linux/smc91x.h
@@ -18,6 +18,8 @@
18 18
19struct smc91x_platdata { 19struct smc91x_platdata {
20 unsigned long flags; 20 unsigned long flags;
21 unsigned char leda;
22 unsigned char ledb;
21}; 23};
22 24
23#endif /* __SMC91X_H__ */ 25#endif /* __SMC91X_H__ */