OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
module: add per-module param_lock
[uclinux-h8/linux.git]
/
drivers
/
video
/
fbdev
/
vt8623fb.c
diff --git
a/drivers/video/fbdev/vt8623fb.c
b/drivers/video/fbdev/vt8623fb.c
index
ea7f056
..
8bac309
100644
(file)
--- 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)
/* Prepare startup mode */
/* Prepare startup mode */
- k
param_block_sysfs_write(mode_option
);
+ k
ernel_param_lock(THIS_MODULE
);
rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8);
rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8);
- k
param_unblock_sysfs_write(mode_option
);
+ k
ernel_param_unlock(THIS_MODULE
);
if (! ((rc == 1) || (rc == 2))) {
rc = -EINVAL;
dev_err(info->device, "mode %s not found\n", mode_option);
if (! ((rc == 1) || (rc == 2))) {
rc = -EINVAL;
dev_err(info->device, "mode %s not found\n", mode_option);