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
..
2009-04-13 15:04:32 -07:00
2009-04-27 12:00:27 -07:00
2009-05-12 14:11:35 -07:00
2009-04-01 08:59:31 -07:00
2009-04-01 08:59:31 -07:00
2009-04-01 08:59:32 -07:00
2009-05-06 16:36:10 -07:00
2009-03-27 14:51:15 +01:00
2009-05-05 09:37:17 +02:00
2009-04-01 08:59:31 -07:00
2009-04-01 08:59:31 -07:00