leds: flash: remove stray include directive
PATCH 1/1 leds: flash: remove stray include directive
Avoid including v4l2-controls.h, as this is stray code from the early versions of the LED / V4L2 flash API integration patches. LED Flash class doesn't depend on V4L2 subsystem.
Signed-off-by Jacek Anaszewski <[email protected]>
--- include/linux/led-class-flash.h | 1 - 1 file changed, 1 deletion(-)
include/linux/led-class-flash.h +0 -1
@@ -13,7 +13,6 @@#define __LINUX_FLASH_LEDS_H_INCLUDED#include <linux/leds.h> -#include <uapi/linux/v4l2-controls.h> struct device_node ;struct led_classdev_flash ;
Signature · 1 line
1.7.9.5
Quoted 5 lines · Jacek Anaszewski
Avoid including
v4l2-controls.h, as this is stray code from the early versions of the LED / V4L2 flash API integration patches. LED Flash class doesn't depend on V4L2 subsystem.Signed-off-by Jacek Anaszewski <[email protected]>
Thanks, I merged it into my tree.
-Bryan
Quoted 19 lines
--- include/linux/led-class-flash.h | 1 - 1 file changed, 1 deletion(-)include/linux/led-class-flash.h +0
-2@@ -13,7 +13,6 @@#define __LINUX_FLASH_LEDS_H_INCLUDED#include <linux/leds.h> -#include <uapi/linux/v4l2-controls.h> struct device_node ;struct led_classdev_flash ; --1.7.9.5