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
nexedi
linux
Commits
8bbb2de8
Commit
8bbb2de8
authored
Aug 03, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PCMCIA] Convert cs.c and rsrc_mgr.c to use named initialisers.
parent
817f0820
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
drivers/pcmcia/cs.c
drivers/pcmcia/cs.c
+1
-1
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/rsrc_mgr.c
+7
-3
No files found.
drivers/pcmcia/cs.c
View file @
8bbb2de8
...
...
@@ -120,7 +120,7 @@ static const char *version =
/*====================================================================*/
socket_state_t
dead_socket
=
{
0
,
SS_DETECT
,
0
,
0
,
0
.
csc_mask
=
SS_DETECT
,
};
...
...
drivers/pcmcia/rsrc_mgr.c
View file @
8bbb2de8
...
...
@@ -77,10 +77,14 @@ typedef struct resource_map_t {
}
resource_map_t
;
/* Memory resource database */
static
resource_map_t
mem_db
=
{
0
,
0
,
&
mem_db
};
static
resource_map_t
mem_db
=
{
.
next
=
&
mem_db
,
};
/* IO port resource database */
static
resource_map_t
io_db
=
{
0
,
0
,
&
io_db
};
static
resource_map_t
io_db
=
{
.
next
=
&
io_db
,
};
static
DECLARE_MUTEX
(
rsrc_sem
);
...
...
@@ -93,7 +97,7 @@ typedef struct irq_info_t {
}
irq_info_t
;
/* Table of IRQ assignments */
static
irq_info_t
irq_table
[
NR_IRQS
]
=
{
{
0
,
0
,
0
},
/* etc */
}
;
static
irq_info_t
irq_table
[
NR_IRQS
];
#endif
...
...
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