Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Bricked
flo
Commits
49259d34
Commit
49259d34
authored
17 years ago
by
David S. Miller
Browse files
Options
Download
Email Patches
Plain Diff
[IRDA] IRNET: Fix build when TCGETS2 is defined.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
3b582cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
net/irda/irnet/irnet_ppp.c
net/irda/irnet/irnet_ppp.c
+10
-0
No files found.
net/irda/irnet/irnet_ppp.c
View file @
49259d34
...
...
@@ -731,15 +731,25 @@ dev_irnet_ioctl(struct inode * inode,
/* Get termios */
case
TCGETS
:
DEBUG
(
FS_INFO
,
"Get termios.
\n
"
);
#ifndef TCGETS2
if
(
kernel_termios_to_user_termios
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
#else
if
(
kernel_termios_to_user_termios_1
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
#endif
err
=
0
;
break
;
/* Set termios */
case
TCSETSF
:
DEBUG
(
FS_INFO
,
"Set termios.
\n
"
);
#ifndef TCGETS2
if
(
user_termios_to_kernel_termios
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
#else
if
(
user_termios_to_kernel_termios_1
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
#endif
err
=
0
;
break
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment