drivers/video/via/viafbdev.c: fix oops with no /proc
authorDan Carpenter <error27@gmail.com>
Wed, 16 Dec 2009 00:46:36 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:04 +0000 (07:20 -0800)
commit8130b3b9e6773367b44a19b504bb7c0c23e81a0e
tree9a172647f566d4139d2a3ef2c4592b2cc714641d
parent9265576daeab1a884b11cc4c1087b72b488ca2e3
drivers/video/via/viafbdev.c: fix oops with no /proc

Fixed a typo: missing *.  This would lead to a kernel oops if the kernel
was compiled without support for the /proc file system.

Found with a static checker.  Compile tested.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/viafbdev.c