From: Rusty Russell Date: Sat, 13 Jun 2009 03:46:58 +0000 (-0600) Subject: uvesafb: improve parameter handling. X-Git-Tag: v2.6.31-rc1~371^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ead9439f0c6ed03faafe27abe8bc1dd256d117b;p=pandora-kernel.git uvesafb: improve parameter handling. 1) Now module_param(..., invbool, ...) requires a bool, and similarly module_param(..., bool, ...) allows it, change pmi_setpal to a bool. 2) #define param_get_scroll to NULL, since it can never be called (perm argument to module_param_named is 0). 3) Return -EINVAL from param_set_scroll if the value is bad, so it's reported. Note that I don't think the old fb_get_options() is required for new drivers: the parameters automatically work as uvesafb.XXX=... anyway. Acked-by: MichaƂ Januszewski Signed-off-by: Rusty Russell --- Reading git-diff-tree failed