aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2007-02-12 00:55:21 -0800
committerLinus Torvalds <[email protected]>2007-02-12 09:48:44 -0800
commitdcfe2666ffd6316b764801db82092bc62db56e6f (patch)
treefc70384ab89cc3afb864174977197fbf36299f11 /include/linux/debugobjects.h
parent9791d763de8cca82b42a7a579e031db78e8011ff (diff)
[PATCH] fb_videomode_to_var: reset virtual screen parameters
fb_videomode_to_var(): reset the virtual screen parameters when converting from an fb_videomode to an fb_var_screeninfo. Without this the old virtual screen parameters are kept. Hence you cannot switch to a video mode with a lower resolution on frame buffer devices that don't support virtual screens and panning, as values are not supposed to be rounded down when they don't fit. I also reordered the assignments to match the order of the individual members. Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: James Simmons <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions