LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] v4l2-flash-led-class.h: use typedef over enum
@ 2021-07-16 4:43 Amy Parker
0 siblings, 0 replies; only message in thread
From: Amy Parker @ 2021-07-16 4:43 UTC (permalink / raw)
To: pavel; +Cc: Amy Parker, linux-leds, linux-kernel
Depends on: https://marc.info/?l=linux-kernel&m=162638395216296
When the above mentioned patch set was generated, it accidentally
changed another reference point of led_brightness in
include/media/v4l2-flash-led-class. This patch corrects this,
convering the enum to a u8.
Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
---
include/media/v4l2-flash-led-class.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/media/v4l2-flash-led-class.h b/include/media/v4l2-flash-led-class.h
index 1705064b278a..d6e589851979 100644
--- a/include/media/v4l2-flash-led-class.h
+++ b/include/media/v4l2-flash-led-class.h
@@ -15,7 +15,7 @@
struct led_classdev_flash;
struct led_classdev;
struct v4l2_flash;
-led_brightness;
+typedef u8 led_brightness;
/**
* struct v4l2_flash_ctrl_data - flash control initialization data, filled
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-16 4:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 4:43 [PATCH] v4l2-flash-led-class.h: use typedef over enum Amy Parker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).