summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-11-06 09:06:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 09:35:54 -0800
commit36f339d136f3b6e91235be619a88289a5f980450 (patch)
tree7ec6af199a77a273db1424eae3011580cde267f6 /tools/perf/scripts/python
parent085f4d84137c6481cdbc12d4c9d7256137b1e9b1 (diff)
serial: pl011: Fix build breakage with !CONFIG_DMA_ENGINE
Commit 479e9b94fdce7bc4 ("serial: Refactor uart_flush_buffer() from uart_close") refactored the uart_flush_buffer() in uart_close() into those drivers that define a flush_buffer() method. However, in the amba-pl011 driver configured without CONFIG_DMA_ENGINE, flush_buffer() is a NULL method, so the direct call fails to compile. Check and call the flush_buffer() method through the ops table instead. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions