Message ID | 20211222102423.3121181-1-troy_lee@aspeedtech.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [qemu,master] hw/misc/aspeed_pwm: fix typo | expand |
On 12/22/21 11:24, Troy Lee wrote: > Typo found during developing. > > Fixes: 70b3f1a34d3c ("hw/misc: Add basic Aspeed PWM model") > Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> > --- > hw/misc/aspeed_pwm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/misc/aspeed_pwm.c b/hw/misc/aspeed_pwm.c > index 8ebab5dcef..dbf9634da3 100644 > --- a/hw/misc/aspeed_pwm.c > +++ b/hw/misc/aspeed_pwm.c > @@ -96,7 +96,7 @@ static void aspeed_pwm_class_init(ObjectClass *klass, void *data) > > dc->realize = aspeed_pwm_realize; > dc->reset = aspeed_pwm_reset; > - dc->desc = "Aspeed PWM Controller", > + dc->desc = "Aspeed PWM Controller"; > dc->vmsd = &vmstate_aspeed_pwm; > } > No need for another patch, since it doesn't build. Simply squash it in your commit 70b3f1a34d3c.
Hello Troy Lee, On 12/22/21 11:24, Troy Lee wrote: > Typo found during developing. > > Fixes: 70b3f1a34d3c ("hw/misc: Add basic Aspeed PWM model") PWM is not upstream. I will include the fix in a new aspeed-7.0 branch. Thanks, C. > Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> > --- > hw/misc/aspeed_pwm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/misc/aspeed_pwm.c b/hw/misc/aspeed_pwm.c > index 8ebab5dcef..dbf9634da3 100644 > --- a/hw/misc/aspeed_pwm.c > +++ b/hw/misc/aspeed_pwm.c > @@ -96,7 +96,7 @@ static void aspeed_pwm_class_init(ObjectClass *klass, void *data) > > dc->realize = aspeed_pwm_realize; > dc->reset = aspeed_pwm_reset; > - dc->desc = "Aspeed PWM Controller", > + dc->desc = "Aspeed PWM Controller"; > dc->vmsd = &vmstate_aspeed_pwm; > } > >
diff --git a/hw/misc/aspeed_pwm.c b/hw/misc/aspeed_pwm.c index 8ebab5dcef..dbf9634da3 100644 --- a/hw/misc/aspeed_pwm.c +++ b/hw/misc/aspeed_pwm.c @@ -96,7 +96,7 @@ static void aspeed_pwm_class_init(ObjectClass *klass, void *data) dc->realize = aspeed_pwm_realize; dc->reset = aspeed_pwm_reset; - dc->desc = "Aspeed PWM Controller", + dc->desc = "Aspeed PWM Controller"; dc->vmsd = &vmstate_aspeed_pwm; }
Typo found during developing. Fixes: 70b3f1a34d3c ("hw/misc: Add basic Aspeed PWM model") Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> --- hw/misc/aspeed_pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)