File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ static int sft_rtc_probe(struct platform_device *pdev)
575575 struct device * dev = & pdev -> dev ;
576576 struct sft_rtc * srtc ;
577577 struct rtc_time tm ;
578- struct irq_desc * desc ;
578+ struct irq_data * data ;
579579 int ret ;
580580
581581 srtc = devm_kzalloc (dev , sizeof (* srtc ), GFP_KERNEL );
@@ -640,8 +640,8 @@ static int sft_rtc_probe(struct platform_device *pdev)
640640 srtc -> rtc_dev -> ops = & starfive_rtc_ops ;
641641 device_init_wakeup (dev , true);
642642
643- desc = irq_to_desc (srtc -> rtc_irq );
644- irq_desc_get_chip ( desc )-> flags = IRQCHIP_SKIP_SET_WAKE ;
643+ data = irq_get_irq_data (srtc -> rtc_irq );
644+ irq_data_get_irq_chip ( data )-> flags = IRQCHIP_SKIP_SET_WAKE ;
645645
646646 /* Always use 24-hour mode and keep the RTC values */
647647 sft_rtc_set_mode (srtc , RTC_HOUR_MODE_24H );
You can’t perform that action at this time.
0 commit comments