diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-13 03:46:58 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 12:16:59 (GMT) |
commit | 2ead9439f0c6ed03faafe27abe8bc1dd256d117b (patch) | |
tree | 373004102baf74b539dae01edbdabe13e341c310 /arch/x86 | |
parent | fddd520122953550ec2c8b60e7ca0d0f0d115d97 (diff) | |
download | linux-2ead9439f0c6ed03faafe27abe8bc1dd256d117b.tar.xz |
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 <spock@gentoo.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions