[PATCH] intelfb: Fix oops when changing video mode
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 19 Dec 2005 07:11:49 +0000 (15:11 +0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 20 Dec 2005 17:27:15 +0000 (09:27 -0800)
commit33c37c06f8066342764bd1568c9f3524efe889a5
treeba308b43facb9fc39f412dc82ee79e96cd022df8
parent4b3760ce3d448d4af3036cd6c650d651a16ee02d
[PATCH] intelfb: Fix oops when changing video mode

Reported by: janis huang (Bugzilla Bug 5747)

Fix on oops in intelfb.  Not sure what's happening, looks like
dinfo->name pointer is invalidated after initialization.  Remove
intelfb_get_fix, it's not needed and move the majority of the code to
the initialization routine.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/intelfb/intelfbdrv.c