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
affb718e
Commit
affb718e
authored
Dec 01, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: rename sysfs attribute
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
97532bff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec-core.c
software/kernel/spec-core.c
+3
-3
No files found.
software/kernel/spec-core.c
View file @
affb718e
...
...
@@ -68,7 +68,7 @@ static const struct file_operations spec_irq_dbg_info_ops = {
};
#define SPEC_DBG_FW_BUF_LEN 128
static
ssize_t
spec_fpga_firmwar
e_store
(
struct
device
*
dev
,
static
ssize_t
firmware_nam
e_store
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
const
char
*
buf
,
size_t
count
)
...
...
@@ -81,7 +81,7 @@ static ssize_t spec_fpga_firmware_store(struct device *dev,
return
err
?
err
:
count
;
}
static
DEVICE_ATTR_WO
(
spec_fpga_firmwar
e
);
static
DEVICE_ATTR_WO
(
firmware_nam
e
);
static
void
seq_printf_meta
(
struct
seq_file
*
s
,
const
char
*
indent
,
struct
spec_meta_id
*
meta
)
...
...
@@ -592,7 +592,7 @@ static ssize_t bootselect_show(struct device *dev,
static
DEVICE_ATTR_RW
(
bootselect
);
static
struct
attribute
*
gn412x_fpga_attrs
[]
=
{
&
dev_attr_
spec_fpga_firmwar
e
.
attr
,
&
dev_attr_
firmware_nam
e
.
attr
,
&
dev_attr_bootselect
.
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