aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Schlichter <thomas.schlichter@web.de>2011-05-19 14:42:26 +0100
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:24:30 -0700
commit5783d8de3d5833cfca935dc4c7d7b4d38db1cdb9 (patch)
tree5f2f343ed38c58864f1378425d5847591cf41be4 /drivers
parent9679d531811ae9e709ac9c2c5e08900432a1f3b1 (diff)
UBUNTU: SAUCE: vesafb: mtrr module parameter is uint, not bool
BugLink: http://bugs.launchpad.net/bugs/778043 As noted by the reporter the mtrr kernel command line option is actually a positive numeric not a boolean, move the module parameter we add to match. Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com> Acked-by: Brad Figg <brad.figg@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/vesafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index e3acd0131ee..9081d294745 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -74,7 +74,7 @@ module_param_named(vgapal, pmi_setpal, invbool, 0);
MODULE_PARM_DESC(vgapal, "Use VGA for setting palette (default)");
module_param_named(pmipal, pmi_setpal, bool, 0);
MODULE_PARM_DESC(pmipal, "Use PMI for setting palette");
-module_param(mtrr, bool, 0);
+module_param(mtrr, uint, 0);
MODULE_PARM_DESC(mtrr, "Enable MTRR support (default)");
module_param_named(nomtrr, mtrr, invbool, 0);
MODULE_PARM_DESC(nomtrr, "Disable MTRR support");