]> git.baikalelectronics.ru Git - kernel.git/commit
eeepc-laptop: fix hotplug_disabled module_param permissions
authorAxel Lin <axel.lin@gmail.com>
Tue, 20 Jul 2010 22:19:55 +0000 (15:19 -0700)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:05 +0000 (09:49 -0400)
commitbcdf66ac82007fdec170b5ade01e25b76a5bd8e4
treedcb30e86ba4c917996c310147837fc1184be5e5a
parent032db3c69501de7126b754c19e0f3d802dc485e3
eeepc-laptop: fix hotplug_disabled module_param permissions

The hotplug_disabled module parameter is determinated at the module load
time.  Change the value after the module is loaded does not make sense and
has no effect at all, thus set the permissions to 0444 instead of 0644.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-laptop.c