Skip to content

Commit

Permalink
fix kernel origin 5.10 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SamulKyull authored Apr 15, 2024
1 parent 14afafe commit 7ae01a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bsp/drivers/rtc/rtc-sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
#include <linux/reboot.h>
#include <linux/version.h>
#include "rtc-sunxi.h"
#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 10, 149)
#if (IS_ENABLED(CONFIG_AW_KERNEL_AOSP) && (LINUX_VERSION_CODE > KERNEL_VERSION(5, 10, 149))) || \
(IS_ENABLED(CONFIG_AW_KERNEL_ORIGIN) && (LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0)))
#include <linux/panic_notifier.h>
#endif

Expand Down

0 comments on commit 7ae01a1

Please sign in to comment.