diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/ans-lcd.c | 1 | ||||
-rw-r--r-- | drivers/macintosh/via-pmu.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index a3d25da2f275..1a57e88a38f7 100644 --- a/drivers/macintosh/ans-lcd.c +++ b/drivers/macintosh/ans-lcd.c | |||
@@ -137,6 +137,7 @@ const struct file_operations anslcd_fops = { | |||
137 | .write = anslcd_write, | 137 | .write = anslcd_write, |
138 | .unlocked_ioctl = anslcd_ioctl, | 138 | .unlocked_ioctl = anslcd_ioctl, |
139 | .open = anslcd_open, | 139 | .open = anslcd_open, |
140 | .llseek = default_llseek, | ||
140 | }; | 141 | }; |
141 | 142 | ||
142 | static struct miscdevice anslcd_dev = { | 143 | static struct miscdevice anslcd_dev = { |
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 7b8b1de03db4..cd29c8248386 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -2399,6 +2399,7 @@ static const struct file_operations pmu_device_fops = { | |||
2399 | #endif | 2399 | #endif |
2400 | .open = pmu_open, | 2400 | .open = pmu_open, |
2401 | .release = pmu_release, | 2401 | .release = pmu_release, |
2402 | .llseek = noop_llseek, | ||
2402 | }; | 2403 | }; |
2403 | 2404 | ||
2404 | static struct miscdevice pmu_device = { | 2405 | static struct miscdevice pmu_device = { |