Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100357
b: refs/heads/master
c: 600bf81
h: refs/heads/master
i:
  100355: 8412bfb
v: v3
  • Loading branch information
Arnd Bergmann authored and Jonathan Corbet committed Jun 20, 2008
1 parent 066503d commit cd035a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28fbbf491368c9491461ca492e13862da1b49180
refs/heads/master: 600bf8140c22e473ef0806ae45214aaaf53e0da3
3 changes: 3 additions & 0 deletions trunk/drivers/char/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/mc146818rtc.h>
#include <linux/netdevice.h>
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/delay.h>

#include <asm/io.h>
Expand Down Expand Up @@ -414,6 +415,8 @@ static int lcd_ioctl(struct inode *inode, struct file *file,

static int lcd_open(struct inode *inode, struct file *file)
{
cycle_kernel_lock();

if (!lcd_present)
return -ENXIO;
else
Expand Down

0 comments on commit cd035a5

Please sign in to comment.