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
4cc76cec
Commit
4cc76cec
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/parport
parent
4caefee0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
32 deletions
+32
-32
drivers/parport/parport_gsc.c
drivers/parport/parport_gsc.c
+28
-28
drivers/parport/parport_serial.c
drivers/parport/parport_serial.c
+4
-4
No files found.
drivers/parport/parport_gsc.c
View file @
4cc76cec
...
@@ -202,40 +202,40 @@ void parport_gsc_dec_use_count(void)
...
@@ -202,40 +202,40 @@ void parport_gsc_dec_use_count(void)
struct
parport_operations
parport_gsc_ops
=
struct
parport_operations
parport_gsc_ops
=
{
{
write_data:
parport_gsc_write_data
,
.
write_data
=
parport_gsc_write_data
,
read_data:
parport_gsc_read_data
,
.
read_data
=
parport_gsc_read_data
,
write_control:
parport_gsc_write_control
,
.
write_control
=
parport_gsc_write_control
,
read_control:
parport_gsc_read_control
,
.
read_control
=
parport_gsc_read_control
,
frob_control:
parport_gsc_frob_control
,
.
frob_control
=
parport_gsc_frob_control
,
read_status:
parport_gsc_read_status
,
.
read_status
=
parport_gsc_read_status
,
enable_irq:
parport_gsc_enable_irq
,
.
enable_irq
=
parport_gsc_enable_irq
,
disable_irq:
parport_gsc_disable_irq
,
.
disable_irq
=
parport_gsc_disable_irq
,
data_forward:
parport_gsc_data_forward
,
.
data_forward
=
parport_gsc_data_forward
,
data_reverse:
parport_gsc_data_reverse
,
.
data_reverse
=
parport_gsc_data_reverse
,
init_state:
parport_gsc_init_state
,
.
init_state
=
parport_gsc_init_state
,
save_state:
parport_gsc_save_state
,
.
save_state
=
parport_gsc_save_state
,
restore_state:
parport_gsc_restore_state
,
.
restore_state
=
parport_gsc_restore_state
,
inc_use_count:
parport_gsc_inc_use_count
,
.
inc_use_count
=
parport_gsc_inc_use_count
,
dec_use_count:
parport_gsc_dec_use_count
,
.
dec_use_count
=
parport_gsc_dec_use_count
,
epp_write_data:
parport_ieee1284_epp_write_data
,
.
epp_write_data
=
parport_ieee1284_epp_write_data
,
epp_read_data:
parport_ieee1284_epp_read_data
,
.
epp_read_data
=
parport_ieee1284_epp_read_data
,
epp_write_addr:
parport_ieee1284_epp_write_addr
,
.
epp_write_addr
=
parport_ieee1284_epp_write_addr
,
epp_read_addr:
parport_ieee1284_epp_read_addr
,
.
epp_read_addr
=
parport_ieee1284_epp_read_addr
,
ecp_write_data:
parport_ieee1284_ecp_write_data
,
.
ecp_write_data
=
parport_ieee1284_ecp_write_data
,
ecp_read_data:
parport_ieee1284_ecp_read_data
,
.
ecp_read_data
=
parport_ieee1284_ecp_read_data
,
ecp_write_addr:
parport_ieee1284_ecp_write_addr
,
.
ecp_write_addr
=
parport_ieee1284_ecp_write_addr
,
compat_write_data:
parport_ieee1284_write_compat
,
.
compat_write_data
=
parport_ieee1284_write_compat
,
nibble_read_data:
parport_ieee1284_read_nibble
,
.
nibble_read_data
=
parport_ieee1284_read_nibble
,
byte_read_data:
parport_ieee1284_read_byte
,
.
byte_read_data
=
parport_ieee1284_read_byte
,
};
};
/* --- Mode detection ------------------------------------- */
/* --- Mode detection ------------------------------------- */
...
@@ -492,9 +492,9 @@ static struct parisc_device_id parport_tbl[] = {
...
@@ -492,9 +492,9 @@ static struct parisc_device_id parport_tbl[] = {
MODULE_DEVICE_TABLE
(
parisc
,
parport_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
parport_tbl
);
static
struct
parisc_driver
parport_driver
=
{
static
struct
parisc_driver
parport_driver
=
{
name:
"Parallel"
,
.
name
=
"Parallel"
,
id_table:
parport_tbl
,
.
id_table
=
parport_tbl
,
probe:
parport_init_chip
,
.
probe
=
parport_init_chip
,
};
};
int
__devinit
parport_gsc_init
(
void
)
int
__devinit
parport_gsc_init
(
void
)
...
...
drivers/parport/parport_serial.c
View file @
4cc76cec
...
@@ -344,10 +344,10 @@ static void __devexit parport_serial_pci_remove (struct pci_dev *dev)
...
@@ -344,10 +344,10 @@ static void __devexit parport_serial_pci_remove (struct pci_dev *dev)
}
}
static
struct
pci_driver
parport_serial_pci_driver
=
{
static
struct
pci_driver
parport_serial_pci_driver
=
{
name:
"parport_serial"
,
.
name
=
"parport_serial"
,
id_table:
parport_serial_pci_tbl
,
.
id_table
=
parport_serial_pci_tbl
,
probe:
parport_serial_pci_probe
,
.
probe
=
parport_serial_pci_probe
,
remove:
__devexit_p
(
parport_serial_pci_remove
),
.
remove
=
__devexit_p
(
parport_serial_pci_remove
),
};
};
...
...
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