Skip to contentSkip to conversation

leds: flash: remove stray include directive

PATCH In review Jacek Anaszewski 2 participants 2 messages Feb 13, 2015 – Feb 18, 2015 LED

lore
Share & tools
lore
#0 lore raw

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.

---
 include/linux/led-class-flash.h |    1 -
 1 file changed, 1 deletion(-)
include/linux/led-class-flash.h +0 -1
index 5ba2fac..3b5b964 100644
@@ -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
#1 lore raw
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.

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
index 5ba2fac..3b5b964 100644
@@ -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