diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/sbus/char/envctrl.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
-rw-r--r-- | drivers/sbus/char/envctrl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 078e5f4520ef..be7b4e56154f 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -720,6 +720,7 @@ static const struct file_operations envctrl_fops = { | |||
720 | #endif | 720 | #endif |
721 | .open = envctrl_open, | 721 | .open = envctrl_open, |
722 | .release = envctrl_release, | 722 | .release = envctrl_release, |
723 | .llseek = noop_llseek, | ||
723 | }; | 724 | }; |
724 | 725 | ||
725 | static struct miscdevice envctrl_dev = { | 726 | static struct miscdevice envctrl_dev = { |
@@ -1027,8 +1028,7 @@ static int kenvctrld(void *__unused) | |||
1027 | return 0; | 1028 | return 0; |
1028 | } | 1029 | } |
1029 | 1030 | ||
1030 | static int __devinit envctrl_probe(struct platform_device *op, | 1031 | static int __devinit envctrl_probe(struct platform_device *op) |
1031 | const struct of_device_id *match) | ||
1032 | { | 1032 | { |
1033 | struct device_node *dp; | 1033 | struct device_node *dp; |
1034 | int index, err; | 1034 | int index, err; |
@@ -1128,7 +1128,7 @@ static const struct of_device_id envctrl_match[] = { | |||
1128 | }; | 1128 | }; |
1129 | MODULE_DEVICE_TABLE(of, envctrl_match); | 1129 | MODULE_DEVICE_TABLE(of, envctrl_match); |
1130 | 1130 | ||
1131 | static struct of_platform_driver envctrl_driver = { | 1131 | static struct platform_driver envctrl_driver = { |
1132 | .driver = { | 1132 | .driver = { |
1133 | .name = DRIVER_NAME, | 1133 | .name = DRIVER_NAME, |
1134 | .owner = THIS_MODULE, | 1134 | .owner = THIS_MODULE, |
@@ -1140,12 +1140,12 @@ static struct of_platform_driver envctrl_driver = { | |||
1140 | 1140 | ||
1141 | static int __init envctrl_init(void) | 1141 | static int __init envctrl_init(void) |
1142 | { | 1142 | { |
1143 | return of_register_platform_driver(&envctrl_driver); | 1143 | return platform_driver_register(&envctrl_driver); |
1144 | } | 1144 | } |
1145 | 1145 | ||
1146 | static void __exit envctrl_exit(void) | 1146 | static void __exit envctrl_exit(void) |
1147 | { | 1147 | { |
1148 | of_unregister_platform_driver(&envctrl_driver); | 1148 | platform_driver_unregister(&envctrl_driver); |
1149 | } | 1149 | } |
1150 | 1150 | ||
1151 | module_init(envctrl_init); | 1151 | module_init(envctrl_init); |