]> git.baikalelectronics.ru Git - kernel.git/commit
module_param: make bool parameters really bool (drivers/video/i810)
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 22:57:34 +0000 (09:27 +1030)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 12 Jan 2012 23:28:59 +0000 (23:28 +0000)
commit888b92aa3b90df36c9ceadae9197d28bcf2aef33
treed5b5c3a411738b0ff72e52c44a63c2f6f20c78e1
parentef1d63c9ced28c0d1b7246c5849c6098e067edf3
module_param: make bool parameters really bool (drivers/video/i810)

module_param(bool) used to counter-intuitively take an int.  In
a18dbfd2 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.

It's time to remove the int/unsigned int option.  For this version
it'll simply give a warning, but it'll break next kernel version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/i810/i810_main.c