Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH v1 2/3] clocksource: Add StarFive timer driver | Date | Thu, 02 Mar 2023 10:39:27 +0100 |
| |
drivers/clocksource/timer-starfive.c:117:13: error: conflicting types for 'timer_shutdown'; have 'void(struct starfive_clkevt *)' 117 | static void timer_shutdown(struct starfive_clkevt *clkevt) | ^~~~~~~~~~~~~~ In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:21, from ./include/linux/notifier.h:16, from ./include/linux/clk.h:14, from drivers/clocksource/timer-starfive.c:12: ./include/linux/timer.h:188:12: note: previous declaration of 'timer_shutdown' with type 'int(struct timer_list *)' 188 | extern int timer_shutdown(struct timer_list *timer); | ^~~~~~~~~~~~~~
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
| |