Commit 0677a8ed authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Fix name typo (355 instead of 335)

parent 5f2203f7
......@@ -140,7 +140,7 @@ static struct controller_block * block_am335x_adc_create(char *name, int argc, v
goto err_rev;
}
if (!(adc = controller_block_alloc("am355x_adc", name, sizeof(struct controller_block_private))))
if (!(adc = controller_block_alloc("am335x_adc", name, sizeof(struct controller_block_private))))
goto err_alloc;
if (controller_block_outterm_list_init(adc, outterms))
......
......@@ -130,7 +130,7 @@ static struct controller_block * block_am335x_gpi_create(char *name, int argc, v
goto err_rev;
}
if (!(gpi = controller_block_alloc("am355x_gpi", name, sizeof(struct controller_block_private))))
if (!(gpi = controller_block_alloc("am335x_gpi", name, sizeof(struct controller_block_private))))
goto err_alloc;
if (controller_block_outterm_list_init(gpi, outterms))
......
......@@ -134,7 +134,7 @@ static struct controller_block * block_am335x_gpo_create(char *name, int argc, v
goto err_rev;
}
if (!(gpo = controller_block_alloc("am355x_gpo", name, sizeof(struct controller_block_private))))
if (!(gpo = controller_block_alloc("am335x_gpo", name, sizeof(struct controller_block_private))))
goto err_alloc;
if (controller_block_interm_list_init(gpo, interms))
......
......@@ -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_HRCNFG, 0);
if (!(pwm = controller_block_alloc("am355x_pwm", name, sizeof(struct controller_block_private))))
if (!(pwm = controller_block_alloc("am335x_pwm", name, sizeof(struct controller_block_private))))
goto err_alloc;
if (controller_block_interm_list_init(pwm, interms))
......
......@@ -96,7 +96,7 @@ static struct controller_block * block_am335x_qed_create(char *name, int argc, v
goto err_rev;
}
if (!(qed = controller_block_alloc("am355x_qed", name, sizeof(struct controller_block_private))))
if (!(qed = controller_block_alloc("am335x_qed", name, sizeof(struct controller_block_private))))
goto err_alloc;
if (controller_block_outterm_list_init(qed, outterms))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment