aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2011-03-22 12:09:50 +0000
committerEric Miao <[email protected]>2011-04-12 15:07:42 +0000
commita6d710fefd1b2c209353a452d0f4c831b3af0da0 (patch)
treecbfa219b9a73c490eb7a66e1947fe5d63af02a7f /fs/jbd2/commit.c
parentLinux 2.6.39-rc3 (diff)
downloadkernel-a6d710fefd1b2c209353a452d0f4c831b3af0da0.tar.gz
kernel-a6d710fefd1b2c209353a452d0f4c831b3af0da0.zip
ARM: pxafb: Fix access to nonexistent member of pxafb_info
In case CONFIG_FB_PXA_OVERLAY is not defined, the pxafb_freq_transition() function tests nonexistent member of pxafb_info (since the member is not part of the structure). Fix this by wraping the test in ifdef, even if I don't really like how the code looks now. The check doesn't have to happen if overlays are disabled at all as the check is always true then. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Eric Miao <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions