]> Pileus Git - ~andy/linux/commit
staging: xgifb: replace XGINew_LCD_Wait_Time() with mdelay()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Thu, 17 Feb 2011 21:29:14 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 20:38:18 +0000 (12:38 -0800)
commitd80aaa01aec2d9b5e833fb9a26b83784e106a379
tree87c4ba11fcdaf2f875332ca330383cdcd5ad1f1f
parent0f07d945f490d1ba8ace3b943b2a2d13daf4c49a
staging: xgifb: replace XGINew_LCD_Wait_Time() with mdelay()

XGINew_LCD_Wait_Time() is implemented using the I/O port 0x61, which is
X86-specific and will fail on other platforms. The code did not make any
sense, but I guess the intention has been to provide a function where
the unit for the delay is milliseconds.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/vb_setmode.c