projects
/
platform
/
core
/
system
/
libdevice-node.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73a15b
)
Add led_device member function
30/234530/1
submit/tizen/20200527.060137
author
Youngjae Cho
<y0.cho@samsung.com>
Wed, 27 May 2020 05:15:13 +0000
(14:15 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Wed, 27 May 2020 05:15:29 +0000
(14:15 +0900)
Change-Id: I0783e80278bcc72145afabd11175db2af15b4b2c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/led.h
patch
|
blob
|
history
diff --git
a/hw/led.h
b/hw/led.h
index 23511013fd228a395142af8d63330357c40ada0e..fd77e6e08298485a9ce63dc0f7b51b2252342971 100644
(file)
--- a/
hw/led.h
+++ b/
hw/led.h
@@
-69,11
+69,25
@@
struct led_device {
*/
int (*set_state)(struct led_state *state);
+ /**
+ * Get led state
+ */
+ int (*get_state)(struct led_state **state);
+
/**
* Get led number
*/
int (*get_number)(void);
+ /**
+ * Set led number
+ */
+ void (*set_num)(int number);
+
+ /**
+ * Get max led number
+ */
+ int (*get_max_num)(void);
};
#endif