Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FPGA Configuration Space
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
FPGA Configuration Space
Commits
415ef273
Commit
415ef273
authored
13 years ago
by
Manohar Vanga
Browse files
Options
Downloads
Patches
Plain Diff
simulation: move list_lock initialization to init()
Signed-off-by:
Manohar Vanga
<
manohar.vanga@cern.ch
>
parent
17eafc3e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
simulation/fake_wb_bus.c
+2
-2
2 additions, 2 deletions
simulation/fake_wb_bus.c
with
2 additions
and
2 deletions
simulation/fake_wb_bus.c
+
2
−
2
View file @
415ef273
...
...
@@ -49,8 +49,6 @@ static int fake_wbbus_probe(struct device *dev)
struct
wb_device
*
wbdev
,
*
next
;
const
struct
firmware
*
wb_fw
;
mutex_init
(
&
list_lock
);
/*
* load firmware with wishbone address map. In the real driver,
* we would first load the bitstream into the fpga and then read
...
...
@@ -135,6 +133,8 @@ static int __init fake_wb_bus_init(void)
{
int
ret
;
mutex_init
(
&
list_lock
);
ret
=
device_register
(
&
fake_wbbus_device
);
if
(
ret
)
{
pr_err
(
KBUILD_MODNAME
"failed to register fake"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment