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)
commitbfa47960f957c021a4d626b051668d2f66cadf23
treedcb30e86ba4c917996c310147837fc1184be5e5a
parentc26d85cb90e178d1e3df6a78d064f8731f154a5e
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