aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds-max8997.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/leds-max8997.h')
-rw-r--r--include/linux/leds-max8997.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/leds-max8997.h b/include/linux/leds-max8997.h
new file mode 100644
index 0000000..6168f66
--- /dev/null
+++ b/include/linux/leds-max8997.h
@@ -0,0 +1,20 @@
+/*
+ * leds-regulator.h - platform data structure for MAX8997 LEDs.
+ *
+ * Copyright (C) 2011 Samsung Electronics
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+#ifndef __LINUX_LEDS_MAX8997_H
+#define __LINUX_LEDS_MAX8997_H
+
+struct led_max8997_platform_data {
+ char *name; /* LED name as expected by LED class */
+ unsigned int brightness; /* initial brightness value */
+};
+
+#endif /* __LINUX_LEDS_MAX8997_H */