Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
3027f36c
Commit
3027f36c
authored
Apr 07, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just a typo
parent
205358bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsc330x.c
src/drivers/misc/vsc330x.c
+1
-1
No files found.
src/drivers/misc/vsc330x.c
View file @
3027f36c
...
...
@@ -301,7 +301,7 @@ static int make_group (struct device *dev, const char * name, int port_mask, mod
{
int
retval
=-
1
;
int
port
,
index
=
0
,
num_regs
;
struct
attribute
**
pattrs
;
/* array of pointers to attibutes */
struct
attribute
**
pattrs
;
/* array of pointers to att
r
ibutes */
struct
device_attribute
*
dev_attrs
;
struct
attribute_group
*
attr_group
;
for
(
port
=
0
,
num_regs
=
1
;
port
<
MAX_PORTS
;
port
++
)
if
(
port_mask
&
(
1
<<
port
))
num_regs
++
;
/* 1 extra - used for all ports */
...
...
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