Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
0677a8ed
Commit
0677a8ed
authored
Aug 11, 2015
by
Jeroen Vreeken
Browse files
Fix name typo (355 instead of 335)
parent
5f2203f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
controller/am335x/block_am335x_adc.c
View file @
0677a8ed
...
@@ -140,7 +140,7 @@ static struct controller_block * block_am335x_adc_create(char *name, int argc, v
...
@@ -140,7 +140,7 @@ static struct controller_block * block_am335x_adc_create(char *name, int argc, v
goto
err_rev
;
goto
err_rev
;
}
}
if
(
!
(
adc
=
controller_block_alloc
(
"am3
5
5x_adc"
,
name
,
sizeof
(
struct
controller_block_private
))))
if
(
!
(
adc
=
controller_block_alloc
(
"am3
3
5x_adc"
,
name
,
sizeof
(
struct
controller_block_private
))))
goto
err_alloc
;
goto
err_alloc
;
if
(
controller_block_outterm_list_init
(
adc
,
outterms
))
if
(
controller_block_outterm_list_init
(
adc
,
outterms
))
...
...
controller/am335x/block_am335x_gpi.c
View file @
0677a8ed
...
@@ -130,7 +130,7 @@ static struct controller_block * block_am335x_gpi_create(char *name, int argc, v
...
@@ -130,7 +130,7 @@ static struct controller_block * block_am335x_gpi_create(char *name, int argc, v
goto
err_rev
;
goto
err_rev
;
}
}
if
(
!
(
gpi
=
controller_block_alloc
(
"am3
5
5x_gpi"
,
name
,
sizeof
(
struct
controller_block_private
))))
if
(
!
(
gpi
=
controller_block_alloc
(
"am3
3
5x_gpi"
,
name
,
sizeof
(
struct
controller_block_private
))))
goto
err_alloc
;
goto
err_alloc
;
if
(
controller_block_outterm_list_init
(
gpi
,
outterms
))
if
(
controller_block_outterm_list_init
(
gpi
,
outterms
))
...
...
controller/am335x/block_am335x_gpo.c
View file @
0677a8ed
...
@@ -134,7 +134,7 @@ static struct controller_block * block_am335x_gpo_create(char *name, int argc, v
...
@@ -134,7 +134,7 @@ static struct controller_block * block_am335x_gpo_create(char *name, int argc, v
goto
err_rev
;
goto
err_rev
;
}
}
if
(
!
(
gpo
=
controller_block_alloc
(
"am3
5
5x_gpo"
,
name
,
sizeof
(
struct
controller_block_private
))))
if
(
!
(
gpo
=
controller_block_alloc
(
"am3
3
5x_gpo"
,
name
,
sizeof
(
struct
controller_block_private
))))
goto
err_alloc
;
goto
err_alloc
;
if
(
controller_block_interm_list_init
(
gpo
,
interms
))
if
(
controller_block_interm_list_init
(
gpo
,
interms
))
...
...
controller/am335x/block_am335x_pwm.c
View file @
0677a8ed
...
@@ -258,7 +258,7 @@ static struct controller_block * block_am335x_pwm_create(char *name, int argc, v
...
@@ -258,7 +258,7 @@ static struct controller_block * block_am335x_pwm_create(char *name, int argc, v
am335x_write16
(
base
,
AM335X_PWMSS_REG_EPWM_ETSEL
,
0
);
am335x_write16
(
base
,
AM335X_PWMSS_REG_EPWM_ETSEL
,
0
);
am335x_write16
(
base
,
AM335X_PWMSS_REG_EPWM_HRCNFG
,
0
);
am335x_write16
(
base
,
AM335X_PWMSS_REG_EPWM_HRCNFG
,
0
);
if
(
!
(
pwm
=
controller_block_alloc
(
"am3
5
5x_pwm"
,
name
,
sizeof
(
struct
controller_block_private
))))
if
(
!
(
pwm
=
controller_block_alloc
(
"am3
3
5x_pwm"
,
name
,
sizeof
(
struct
controller_block_private
))))
goto
err_alloc
;
goto
err_alloc
;
if
(
controller_block_interm_list_init
(
pwm
,
interms
))
if
(
controller_block_interm_list_init
(
pwm
,
interms
))
...
...
controller/am335x/block_am335x_qed.c
View file @
0677a8ed
...
@@ -96,7 +96,7 @@ static struct controller_block * block_am335x_qed_create(char *name, int argc, v
...
@@ -96,7 +96,7 @@ static struct controller_block * block_am335x_qed_create(char *name, int argc, v
goto
err_rev
;
goto
err_rev
;
}
}
if
(
!
(
qed
=
controller_block_alloc
(
"am3
5
5x_qed"
,
name
,
sizeof
(
struct
controller_block_private
))))
if
(
!
(
qed
=
controller_block_alloc
(
"am3
3
5x_qed"
,
name
,
sizeof
(
struct
controller_block_private
))))
goto
err_alloc
;
goto
err_alloc
;
if
(
controller_block_outterm_list_init
(
qed
,
outterms
))
if
(
controller_block_outterm_list_init
(
qed
,
outterms
))
...
...
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