diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 9b38674fbf75..34f3c7e2d832 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -1094,7 +1094,7 @@ static int smu_release(struct inode *inode, struct file *file) | |||
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | 1096 | ||
1097 | static struct file_operations smu_device_fops __pmacdata = { | 1097 | static struct file_operations smu_device_fops = { |
1098 | .llseek = no_llseek, | 1098 | .llseek = no_llseek, |
1099 | .read = smu_read, | 1099 | .read = smu_read, |
1100 | .write = smu_write, | 1100 | .write = smu_write, |
@@ -1103,7 +1103,7 @@ static struct file_operations smu_device_fops __pmacdata = { | |||
1103 | .release = smu_release, | 1103 | .release = smu_release, |
1104 | }; | 1104 | }; |
1105 | 1105 | ||
1106 | static struct miscdevice pmu_device __pmacdata = { | 1106 | static struct miscdevice pmu_device = { |
1107 | MISC_DYNAMIC_MINOR, "smu", &smu_device_fops | 1107 | MISC_DYNAMIC_MINOR, "smu", &smu_device_fops |
1108 | }; | 1108 | }; |
1109 | 1109 | ||