Commit a5aac37f authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[SPARC]: display7seg build fix

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e6ece5d
...@@ -119,7 +119,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -119,7 +119,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{ {
__u8 regs = readb(d7s_regs); __u8 regs = readb(d7s_regs);
__u8 ireg = 0; __u8 ireg = 0;
int error = 0 int error = 0;
if (D7S_MINOR != iminor(file->f_dentry->d_inode)) if (D7S_MINOR != iminor(file->f_dentry->d_inode))
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment