diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
| commit | 659c36fcda403013a01b85da07cf2d9711e6d6c7 (patch) | |
| tree | ece2e7d0e2c19ea5a3d0ec172ad0b81a8a19021d /include/linux/of_platform.h | |
| parent | 9521d830b6341d1887dcfc2aebde23fbfa5f1473 (diff) | |
| parent | 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 (diff) | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core:
. Overhaul the tools/ makefiles, gluing them to the top level Makefile, from
Borislav Petkov.
. Move the UI files from tools/perf/util/ui/ to tools/perf/ui/. Also move
the GTK+ browser to tools/perf/ui/gtk/, from Namhyung Kim.
. Only fallback to sw cycles counter on ENOENT for the hw cycles, from
Robert Richter
. Trivial fixes from Robert Richter
. Handle the autogenerated bison/flex files better, from Namhyung and Jiri Olsa.
. Navigate jump instructions in the annotate browser, just press enter or ->,
still needs support for a jump navigation history, i.e. to go back.
. Search string in the annotate browser: same keys as vim:
/ forward
n next backward/forward
? backward
. Clarify number of events/samples in the report header, from Ashay Rane
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/of_platform.h')
| -rw-r--r-- | include/linux/of_platform.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index 040ce2f6e8de..b47d2040c9f2 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h | |||
| @@ -81,7 +81,7 @@ extern struct platform_device *of_device_alloc(struct device_node *np, | |||
| 81 | struct device *parent); | 81 | struct device *parent); |
| 82 | extern struct platform_device *of_find_device_by_node(struct device_node *np); | 82 | extern struct platform_device *of_find_device_by_node(struct device_node *np); |
| 83 | 83 | ||
| 84 | #if !defined(CONFIG_SPARC) /* SPARC has its own device registration method */ | 84 | #ifdef CONFIG_OF_ADDRESS /* device reg helpers depend on OF_ADDRESS */ |
| 85 | /* Platform devices and busses creation */ | 85 | /* Platform devices and busses creation */ |
| 86 | extern struct platform_device *of_platform_device_create(struct device_node *np, | 86 | extern struct platform_device *of_platform_device_create(struct device_node *np, |
| 87 | const char *bus_id, | 87 | const char *bus_id, |
| @@ -94,8 +94,19 @@ extern int of_platform_populate(struct device_node *root, | |||
| 94 | const struct of_device_id *matches, | 94 | const struct of_device_id *matches, |
| 95 | const struct of_dev_auxdata *lookup, | 95 | const struct of_dev_auxdata *lookup, |
| 96 | struct device *parent); | 96 | struct device *parent); |
| 97 | #endif /* !CONFIG_SPARC */ | 97 | #endif /* CONFIG_OF_ADDRESS */ |
| 98 | 98 | ||
| 99 | #endif /* CONFIG_OF_DEVICE */ | 99 | #endif /* CONFIG_OF_DEVICE */ |
| 100 | 100 | ||
| 101 | #if !defined(CONFIG_OF_ADDRESS) | ||
| 102 | struct of_dev_auxdata; | ||
| 103 | static inline int of_platform_populate(struct device_node *root, | ||
| 104 | const struct of_device_id *matches, | ||
| 105 | const struct of_dev_auxdata *lookup, | ||
| 106 | struct device *parent) | ||
| 107 | { | ||
| 108 | return -ENODEV; | ||
| 109 | } | ||
| 110 | #endif /* !CONFIG_OF_ADDRESS */ | ||
| 111 | |||
| 101 | #endif /* _LINUX_OF_PLATFORM_H */ | 112 | #endif /* _LINUX_OF_PLATFORM_H */ |
