[SPARC]: display7seg build fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6e6ece5dc6
commit
a5aac37f1c
@@ -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;
|
||||||
|
Reference in New Issue
Block a user