summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat2012-02-12 21:34:17 +0100
committerFlorian Tobias Schandinat2012-03-04 13:05:15 +0100
commit91dc1be8f698eb016343d534159a919678e3889c (patch)
tree286944db798d0254314e9e346cf74fa9c87211d3 /drivers/video/via/hw.h
parentviafb: Fix bug in centering code (diff)
downloadkernel-qcow2-linux-91dc1be8f698eb016343d534159a919678e3889c.tar.gz
kernel-qcow2-linux-91dc1be8f698eb016343d534159a919678e3889c.tar.xz
kernel-qcow2-linux-91dc1be8f698eb016343d534159a919678e3889c.zip
viafb: LCD bpp cleanup
This patch removes redundant bits per pixel information by using the one storged in var directly. Simplifies code without any functional changes. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r--drivers/video/via/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h
index f8129e49aa2c..cacedc10699b 100644
--- a/drivers/video/via/hw.h
+++ b/drivers/video/via/hw.h
@@ -658,7 +658,7 @@ void viafb_load_FIFO_reg(int set_iga, int hor_active, int ver_active);
void viafb_set_dpa_gfx(int output_interface, struct GFX_DPA_SETTING\
*p_gfx_dpa_setting);
-int viafb_setmode(int video_bpp, int video_bpp1);
+int viafb_setmode(void);
void viafb_fill_var_timing_info(struct fb_var_screeninfo *var,
struct crt_mode_table *mode);
void __devinit viafb_init_chip_info(int chip_type);