diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-21 05:33:03 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-21 08:44:55 -0400 |
| commit | 64131a87f2aae2ed9e05d8227c5b009ca6c50d98 (patch) | |
| tree | fdea23fd59216120bf54a48c60ca24489a733f14 /include/linux/led-class-flash.h | |
| parent | 676ee36be04985062522804c2de04f0764212be6 (diff) | |
| parent | 2c33ce009ca2389dbf0535d0672214d09738e35e (diff) | |
Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus
* 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux: (9717 commits)
media-bus: Fixup RGB444_1X12, RGB565_1X16, and YUV8_1X24 media bus format
hexdump: avoid warning in test function
fs: take i_mutex during prepare_binprm for set[ug]id executables
smp: Fix error case handling in smp_call_function_*()
iommu-common: Fix PARISC compile-time warnings
sparc: Make LDC use common iommu poll management functions
sparc: Make sparc64 use scalable lib/iommu-common.c functions
Break up monolithic iommu table/lock into finer graularity pools and lock
sparc: Revert generic IOMMU allocator.
tools/power turbostat: correct dumped pkg-cstate-limit value
tools/power turbostat: calculate TSC frequency from CPUID(0x15) on SKL
tools/power turbostat: correct DRAM RAPL units on recent Xeon processors
tools/power turbostat: Initial Skylake support
tools/power turbostat: Use $(CURDIR) instead of $(PWD) and add support for O= option in Makefile
tools/power turbostat: modprobe msr, if needed
tools/power turbostat: dump MSR_TURBO_RATIO_LIMIT2
tools/power turbostat: use new MSR_TURBO_RATIO_LIMIT names
Bluetooth: hidp: Fix regression with older userspace and flags validation
config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected
perf/x86/intel/pt: Fix and clean up error handling in pt_event_add()
...
That solves several merge conflicts:
Documentation/DocBook/media/v4l/subdev-formats.xml
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/staging/media/mn88473/mn88473.c
include/linux/kconfig.h
include/uapi/linux/media-bus-format.h
The ones at subdev-formats.xml and media-bus-format.h are not trivial.
That's why we opted to merge from DRM.
Diffstat (limited to 'include/linux/led-class-flash.h')
| -rw-r--r-- | include/linux/led-class-flash.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/include/linux/led-class-flash.h b/include/linux/led-class-flash.h index 5ba2facd7a51..e97966d1fb8d 100644 --- a/include/linux/led-class-flash.h +++ b/include/linux/led-class-flash.h | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | #define __LINUX_FLASH_LEDS_H_INCLUDED | 13 | #define __LINUX_FLASH_LEDS_H_INCLUDED |
| 14 | 14 | ||
| 15 | #include <linux/leds.h> | 15 | #include <linux/leds.h> |
| 16 | #include <uapi/linux/v4l2-controls.h> | ||
| 17 | 16 | ||
| 18 | struct device_node; | 17 | struct device_node; |
| 19 | struct led_classdev_flash; | 18 | struct led_classdev_flash; |
| @@ -33,7 +32,7 @@ struct led_classdev_flash; | |||
| 33 | #define LED_FAULT_LED_OVER_TEMPERATURE (1 << 8) | 32 | #define LED_FAULT_LED_OVER_TEMPERATURE (1 << 8) |
| 34 | #define LED_NUM_FLASH_FAULTS 9 | 33 | #define LED_NUM_FLASH_FAULTS 9 |
| 35 | 34 | ||
| 36 | #define LED_FLASH_MAX_SYSFS_GROUPS 7 | 35 | #define LED_FLASH_SYSFS_GROUPS_SIZE 5 |
| 37 | 36 | ||
| 38 | struct led_flash_ops { | 37 | struct led_flash_ops { |
| 39 | /* set flash brightness */ | 38 | /* set flash brightness */ |
| @@ -81,21 +80,7 @@ struct led_classdev_flash { | |||
| 81 | struct led_flash_setting timeout; | 80 | struct led_flash_setting timeout; |
| 82 | 81 | ||
| 83 | /* LED Flash class sysfs groups */ | 82 | /* LED Flash class sysfs groups */ |
| 84 | const struct attribute_group *sysfs_groups[LED_FLASH_MAX_SYSFS_GROUPS]; | 83 | const struct attribute_group *sysfs_groups[LED_FLASH_SYSFS_GROUPS_SIZE]; |
| 85 | |||
| 86 | /* LEDs available for flash strobe synchronization */ | ||
| 87 | struct led_classdev_flash **sync_leds; | ||
| 88 | |||
| 89 | /* Number of LEDs available for flash strobe synchronization */ | ||
| 90 | int num_sync_leds; | ||
| 91 | |||
| 92 | /* | ||
| 93 | * The identifier of the sub-led to synchronize the flash strobe with. | ||
| 94 | * Identifiers start from 1, which reflects the first element from the | ||
| 95 | * sync_leds array. 0 means that the flash strobe should not be | ||
| 96 | * synchronized. | ||
| 97 | */ | ||
| 98 | u32 sync_led_id; | ||
| 99 | }; | 84 | }; |
| 100 | 85 | ||
| 101 | static inline struct led_classdev_flash *lcdev_to_flcdev( | 86 | static inline struct led_classdev_flash *lcdev_to_flcdev( |
