aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2012-07-30 14:39:27 -0700
committerLinus Torvalds <[email protected]>2012-07-30 17:25:11 -0700
commit93abe8e4b13ae9a0428ce940a8a03ac72a7626f1 (patch)
tree00ee23e5533c0bda7a76c2dc63e0bfcfcde7fa7f /tools/perf/scripts/python
parentbf7c27e9887af48952743753916f9cfbe900d0e9 (diff)
clk: add non CONFIG_HAVE_CLK routines
Many drivers are shared between architectures that may or may not have HAVE_CLK selected for them. To remove compilation errors for them we enclose clk_*() calls in these drivers within #ifdef CONFIG_HAVE_CLK, #endif. This patch removes the need of these CONFIG_HAVE_CLK statements, by introducing dummy routines when HAVE_CLK is not selected by platforms. So, definition of these routines will always be available. These calls will return error for platforms that don't select HAVE_CLK. Signed-off-by: Viresh Kumar <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Bhupesh Sharma <[email protected]> Cc: Giuseppe Cavallaro <[email protected]> Cc: Russell King <[email protected]> Cc: Mike Turquette <[email protected]> Cc: Sergei Shtylyov <[email protected]> Cc: viresh kumar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions