Skip to content

Commit d5efc1f

Browse files
claudiubezneanoglitch
authored andcommitted
soc: at91: add has_gclk member to struct atmel_tcb_config
Add has_gclk member to struct atmel_tcb_config. Fixes: 5880e28 ("drivers: pwm: pwm-atmel-tcb: skip 1st divider if gck supported") Reported-by: Ajay Kathat <Ajay.Kathat@microchip.com> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
1 parent f823310 commit d5efc1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/soc/at91/atmel_tcb.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ struct clk;
3636
/**
3737
* struct atmel_tcb_config - SoC data for a Timer/Counter Block
3838
* @counter_width: size in bits of a timer counter register
39+
* @has_gclk: boolean indicating if a timer counter has a generic clock
3940
*/
4041
struct atmel_tcb_config {
4142
size_t counter_width;
43+
bool has_gclk;
4244
};
4345

4446
/**

0 commit comments

Comments
 (0)