diff options
author | Felipe Balbi <[email protected]> | 2012-09-07 21:10:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-09-10 16:31:09 -0700 |
commit | ce2f08ded291188b684e3d2e9940132514ada0a9 (patch) | |
tree | 80608ab21d2c790cddc8491821d142bd50809b56 /fs/jbd2/commit.c | |
parent | e36851d0fa94b0f7802b3cc80406dbd3ef4f2f16 (diff) |
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions