diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-13 15:43:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-29 06:33:39 +0100 |
commit | 25dcdd68fba532d60352feeae4d38e3ac8e35188 (patch) | |
tree | cc40346e42047420d5db5685227cc9876d4d8995 /include | |
parent | 297b0e4672a7273fcb19acea1c5681db9f87ae37 (diff) | |
download | barebox-25dcdd68fba532d60352feeae4d38e3ac8e35188.tar.gz barebox-25dcdd68fba532d60352feeae4d38e3ac8e35188.tar.xz |
video: rework mode_name parameter setting
We have dev_add_param_enum() now, so use it for the mode_name
setting. Also drop the special case for single mode framebuffers,
just add the mode_name parameter for this case aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fb.h b/include/fb.h index 1cc352ba87..91d3fe415e 100644 --- a/include/fb.h +++ b/include/fb.h @@ -94,6 +94,8 @@ struct fb_info { struct fb_videomode *mode; struct display_timings modes; + int current_mode; + struct fb_ops *fbops; struct device_d dev; /* This is this fb device */ |