Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115748811
D50002.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
649 B
Referenced Files
None
Subscribers
None
D50002.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/leds.h b/sys/compat/linuxkpi/common/include/linux/leds.h
--- a/sys/compat/linuxkpi/common/include/linux/leds.h
+++ b/sys/compat/linuxkpi/common/include/linux/leds.h
@@ -27,7 +27,7 @@
#define _LINUXKPI_LINUX_LEDS_H
enum led_brightness {
- __DUMMY,
+ LED_OFF,
};
struct led_classdev {
@@ -35,6 +35,7 @@
const char *default_trigger;
int (*blink_set)(struct led_classdev *, unsigned long *, unsigned long *);
void (*brightness_set)(struct led_classdev *, enum led_brightness);
+ void (*led_set)(struct led_classdev *, enum led_brightness);
};
#endif /* _LINUXKPI_LINUX_LEDS_H */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 29, 2:25 AM (8 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17786554
Default Alt Text
D50002.diff (649 B)
Attached To
Mode
D50002: LinuxKPI: extend struct and enum for leds
Attached
Detach File
Event Timeline
Log In to Comment