diff options
author | 2012-09-07 21:10:33 +0300 | |
---|---|---|
committer | 2012-09-10 16:31:09 -0700 | |
commit | ce2f08ded291188b684e3d2e9940132514ada0a9 (patch) | |
tree | 80608ab21d2c790cddc8491821d142bd50809b56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: omap: fix compile breakage (diff) | |
download | linux-dev-ce2f08ded291188b684e3d2e9940132514ada0a9.tar.xz linux-dev-ce2f08ded291188b684e3d2e9940132514ada0a9.zip |
serial: omap: fix DeviceTree boot
OMAP Architecture code, passes a few function
pointers for UART driver to use in order to
properly implement Power Management and Wakeup
capabilities.
The problem is that those function pointers,
which are passed (ab)using platform_data on
non-DT kernels, can't be passed down to drivers
through DT.
commit e5b57c0 (serial: omap: define helpers
for pdata function pointers) failed to take DT
kernels into consideration and caused a regression
to DT kernel boot.
Fix that by (re-)adding a check for valid pdata
pointer together with valid pdata->$FUNCTION
pointer.
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions