[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210716044324.523057-1-apark0006@student.cerritos.edu>
Date: Thu, 15 Jul 2021 21:43:24 -0700
From: Amy Parker <apark0006@...dent.cerritos.edu>
To: pavel@....cz
Cc: Amy Parker <apark0006@...dent.cerritos.edu>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] v4l2-flash-led-class.h: use typedef over enum
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@...dent.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
Powered by blists - more mailing lists