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/of.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/of.h')
| -rw-r--r-- | include/linux/of.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index dfde07e77a63..5f124f685e07 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
| @@ -332,6 +332,7 @@ extern int of_count_phandle_with_args(const struct device_node *np, | |||
| 332 | 332 | ||
| 333 | extern void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)); | 333 | extern void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)); |
| 334 | extern int of_alias_get_id(struct device_node *np, const char *stem); | 334 | extern int of_alias_get_id(struct device_node *np, const char *stem); |
| 335 | extern int of_alias_get_highest_id(const char *stem); | ||
| 335 | 336 | ||
| 336 | extern int of_machine_is_compatible(const char *compat); | 337 | extern int of_machine_is_compatible(const char *compat); |
| 337 | 338 | ||
| @@ -594,6 +595,11 @@ static inline int of_alias_get_id(struct device_node *np, const char *stem) | |||
| 594 | return -ENOSYS; | 595 | return -ENOSYS; |
| 595 | } | 596 | } |
| 596 | 597 | ||
| 598 | static inline int of_alias_get_highest_id(const char *stem) | ||
| 599 | { | ||
| 600 | return -ENOSYS; | ||
| 601 | } | ||
| 602 | |||
| 597 | static inline int of_machine_is_compatible(const char *compat) | 603 | static inline int of_machine_is_compatible(const char *compat) |
| 598 | { | 604 | { |
| 599 | return 0; | 605 | return 0; |
| @@ -616,6 +622,38 @@ static inline const char *of_prop_next_string(struct property *prop, | |||
| 616 | return NULL; | 622 | return NULL; |
| 617 | } | 623 | } |
| 618 | 624 | ||
| 625 | static inline int of_node_check_flag(struct device_node *n, unsigned long flag) | ||
| 626 | { | ||
| 627 | return 0; | ||
| 628 | } | ||
| 629 | |||
| 630 | static inline int of_node_test_and_set_flag(struct device_node *n, | ||
| 631 | unsigned long flag) | ||
| 632 | { | ||
| 633 | return 0; | ||
| 634 | } | ||
| 635 | |||
| 636 | static inline void of_node_set_flag(struct device_node *n, unsigned long flag) | ||
| 637 | { | ||
| 638 | } | ||
| 639 | |||
| 640 | static inline void of_node_clear_flag(struct device_node *n, unsigned long flag) | ||
| 641 | { | ||
| 642 | } | ||
| 643 | |||
| 644 | static inline int of_property_check_flag(struct property *p, unsigned long flag) | ||
| 645 | { | ||
| 646 | return 0; | ||
| 647 | } | ||
| 648 | |||
| 649 | static inline void of_property_set_flag(struct property *p, unsigned long flag) | ||
| 650 | { | ||
| 651 | } | ||
| 652 | |||
| 653 | static inline void of_property_clear_flag(struct property *p, unsigned long flag) | ||
| 654 | { | ||
| 655 | } | ||
| 656 | |||
| 619 | #define of_match_ptr(_ptr) NULL | 657 | #define of_match_ptr(_ptr) NULL |
| 620 | #define of_match_node(_matches, _node) NULL | 658 | #define of_match_node(_matches, _node) NULL |
| 621 | #endif /* CONFIG_OF */ | 659 | #endif /* CONFIG_OF */ |
