android_kernel_xiaomi_sm8350/drivers/video/via
Harald Welte ee1ef82c7e viafb: make it work on x86_64
Fix a bug in viafb on x86_64 builds (e.g. for VIA Nano CPU).

You cannot make the assumption that sizeof(unsigned int) ==
sizeof(unsigned long), so the parsing of the default mode (640x480) fails,
leading to a division by zero during insmod of the driver.

Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Cc: <JosephChan@via.com.tw>
Cc: <ScottFang@viatech.com.cn>
Cc: Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-05-12 14:11:35 -07:00
..
accel.c viafb: returns 0 two too early 2009-04-01 08:59:32 -07:00
accel.h
chip.h
debug.h
dvi.c
dvi.h
global.c
global.h
hw.c
hw.h
iface.c
iface.h
ioctl.c
ioctl.h
lcd.c
lcd.h
lcdtbl.h
Makefile
share.h
tbl1636.c
tbl1636.h
tblDPASetting.c
tblDPASetting.h
via_i2c.c
via_i2c.h
via_utility.c
via_utility.h
viafbdev.c viafb: make it work on x86_64 2009-05-12 14:11:35 -07:00
viafbdev.h
viamode.c
viamode.h
vt1636.c
vt1636.h