Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
56f17aee
Commit
56f17aee
authored
Apr 01, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: use better name to enable FPGA loading
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
69ded74f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec-core.c
kernel/spec-core.c
+5
-5
No files found.
kernel/spec-core.c
View file @
56f17aee
...
...
@@ -85,9 +85,9 @@ static int spec_fw_load_init(struct spec_dev *spec)
return
spec_fw_load
(
spec
,
spec_fw_name_init_get
(
spec
));
}
static
ssize_t
fpga_
bitstream
_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
)
static
ssize_t
fpga_
load
_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
)
{
int
err
;
...
...
@@ -95,10 +95,10 @@ static ssize_t fpga_bitstream_store(struct device *dev,
return
err
?
err
:
count
;
}
static
DEVICE_ATTR_WO
(
fpga_
bitstream
);
static
DEVICE_ATTR_WO
(
fpga_
load
);
static
struct
attribute
*
spec_attrs
[]
=
{
&
dev_attr_fpga_
bitstream
.
attr
,
&
dev_attr_fpga_
load
.
attr
,
NULL
,
};
...
...
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