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
2008-10-16 11:21:45 -07:00
2008-03-10 18:01:20 -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
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2009-02-22 09:23:02 -08:00
2007-05-04 17:59:05 -07:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2008-05-18 13:28:49 -07:00
2009-05-06 16:36:10 -07:00
2007-05-08 11:15:26 -07:00
2008-02-06 10:41:16 -08:00
2009-03-27 14:51:15 +01:00
2009-05-05 09:37:17 +02:00
2008-04-28 08:58:41 -07:00
2009-01-06 15:59:27 -08:00
2009-01-06 15:59:27 -08:00
2009-03-17 09:30:36 +09:00
2009-04-01 08:59:31 -07:00
2007-10-16 09:43:22 -07:00
2009-04-01 08:59:31 -07:00
2008-10-16 11:21:42 -07:00
2007-05-08 11:15:32 -07:00
2008-07-04 10:40:08 -07:00