diff options
Diffstat (limited to 'drivers/video/fbdev/vt8623fb.c')
-rw-r--r-- | drivers/video/fbdev/vt8623fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/vt8623fb.c b/drivers/video/fbdev/vt8623fb.c index ea7f056ed5fe..8bac309c24b9 100644 --- a/drivers/video/fbdev/vt8623fb.c +++ b/drivers/video/fbdev/vt8623fb.c | |||
@@ -754,9 +754,9 @@ static int vt8623_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) | |||
754 | 754 | ||
755 | /* Prepare startup mode */ | 755 | /* Prepare startup mode */ |
756 | 756 | ||
757 | kparam_block_sysfs_write(mode_option); | 757 | kernel_param_lock(THIS_MODULE); |
758 | rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); | 758 | rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); |
759 | kparam_unblock_sysfs_write(mode_option); | 759 | kernel_param_unlock(THIS_MODULE); |
760 | if (! ((rc == 1) || (rc == 2))) { | 760 | if (! ((rc == 1) || (rc == 2))) { |
761 | rc = -EINVAL; | 761 | rc = -EINVAL; |
762 | dev_err(info->device, "mode %s not found\n", mode_option); | 762 | dev_err(info->device, "mode %s not found\n", mode_option); |