Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5096ce89
Commit
5096ce89
authored
Oct 04, 2002
by
Maksim Krasnyanskiy
Committed by
Maksim Krasnyanskiy
Oct 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix designated initializers in RFCOMM TTY layer.
parent
c5e6d236
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
net/bluetooth/rfcomm/tty.c
net/bluetooth/rfcomm/tty.c
+32
-32
No files found.
net/bluetooth/rfcomm/tty.c
View file @
5096ce89
...
@@ -819,41 +819,41 @@ static struct termios *rfcomm_tty_termios[RFCOMM_TTY_PORTS];
...
@@ -819,41 +819,41 @@ static struct termios *rfcomm_tty_termios[RFCOMM_TTY_PORTS];
static
struct
termios
*
rfcomm_tty_termios_locked
[
RFCOMM_TTY_PORTS
];
static
struct
termios
*
rfcomm_tty_termios_locked
[
RFCOMM_TTY_PORTS
];
static
struct
tty_driver
rfcomm_tty_driver
=
{
static
struct
tty_driver
rfcomm_tty_driver
=
{
magic:
TTY_DRIVER_MAGIC
,
.
magic
=
TTY_DRIVER_MAGIC
,
driver_name:
"rfcomm"
,
.
driver_name
=
"rfcomm"
,
#ifdef CONFIG_DEVFS_FS
#ifdef CONFIG_DEVFS_FS
name:
"bluetooth/rfcomm/%d"
,
.
name
=
"bluetooth/rfcomm/%d"
,
#else
#else
name:
"rfcomm%d"
,
.
name
=
"rfcomm%d"
,
#endif
#endif
major:
RFCOMM_TTY_MAJOR
,
.
major
=
RFCOMM_TTY_MAJOR
,
minor_start:
RFCOMM_TTY_MINOR
,
.
minor_start
=
RFCOMM_TTY_MINOR
,
num:
RFCOMM_TTY_PORTS
,
.
num
=
RFCOMM_TTY_PORTS
,
type:
TTY_DRIVER_TYPE_SERIAL
,
.
type
=
TTY_DRIVER_TYPE_SERIAL
,
subtype:
SERIAL_TYPE_NORMAL
,
.
subtype
=
SERIAL_TYPE_NORMAL
,
flags:
TTY_DRIVER_REAL_RAW
,
.
flags
=
TTY_DRIVER_REAL_RAW
,
refcount:
&
rfcomm_tty_refcount
,
.
refcount
=
&
rfcomm_tty_refcount
,
table:
rfcomm_tty_table
,
.
table
=
rfcomm_tty_table
,
termios:
rfcomm_tty_termios
,
.
termios
=
rfcomm_tty_termios
,
termios_locked:
rfcomm_tty_termios_locked
,
.
termios_locked
=
rfcomm_tty_termios_locked
,
open:
rfcomm_tty_open
,
.
open
=
rfcomm_tty_open
,
close:
rfcomm_tty_close
,
.
close
=
rfcomm_tty_close
,
write:
rfcomm_tty_write
,
.
write
=
rfcomm_tty_write
,
write_room:
rfcomm_tty_write_room
,
.
write_room
=
rfcomm_tty_write_room
,
chars_in_buffer:
rfcomm_tty_chars_in_buffer
,
.
chars_in_buffer
=
rfcomm_tty_chars_in_buffer
,
flush_buffer:
rfcomm_tty_flush_buffer
,
.
flush_buffer
=
rfcomm_tty_flush_buffer
,
ioctl:
rfcomm_tty_ioctl
,
.
ioctl
=
rfcomm_tty_ioctl
,
throttle:
rfcomm_tty_throttle
,
.
throttle
=
rfcomm_tty_throttle
,
unthrottle:
rfcomm_tty_unthrottle
,
.
unthrottle
=
rfcomm_tty_unthrottle
,
set_termios:
rfcomm_tty_set_termios
,
.
set_termios
=
rfcomm_tty_set_termios
,
send_xchar:
rfcomm_tty_send_xchar
,
.
send_xchar
=
rfcomm_tty_send_xchar
,
stop:
NULL
,
.
stop
=
NULL
,
start:
NULL
,
.
start
=
NULL
,
hangup:
rfcomm_tty_hangup
,
.
hangup
=
rfcomm_tty_hangup
,
wait_until_sent:
rfcomm_tty_wait_until_sent
,
.
wait_until_sent
=
rfcomm_tty_wait_until_sent
,
read_proc:
rfcomm_tty_read_proc
,
.
read_proc
=
rfcomm_tty_read_proc
,
};
};
int
rfcomm_init_ttys
(
void
)
int
rfcomm_init_ttys
(
void
)
...
...
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