diff options
| author | Sven Eckelmann | 2025-11-23 11:37:20 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-11-24 23:28:49 +0000 |
| commit | c6ed536839a4d66d4a05f1da8d0ffc6173cbae13 (patch) | |
| tree | b1638951b89da3eaee26ba98ee66f87d8697f60e | |
| parent | 3a5a5c768ad7eefd9cf39802ebcbfb5d34b29e73 (diff) | |
| download | openwrt-c6ed536839a4d66d4a05f1da8d0ffc6173cbae13.tar.gz | |
realtek: Prefer linux/* includes over asm/* ones
It is preferred in the Linux kernel to include the "normal" linux/*
include files instead of the asm includes files when available.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Link: https://github.com/openwrt/openwrt/pull/20906
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c index 542c029da3..2cdb726f9a 100644 --- a/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c +++ b/target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c @@ -3,6 +3,7 @@ * Copyright (C) 2020 B. Koblitz */ +#include <linux/cacheflush.h> #include <linux/dma-mapping.h> #include <linux/etherdevice.h> #include <linux/interrupt.h> @@ -18,7 +19,6 @@ #include <linux/pkt_sched.h> #include <net/dsa.h> #include <net/switchdev.h> -#include <asm/cacheflush.h> #include <asm/mach-rtl838x/mach-rtl83xx.h> #include "rtl838x_eth.h" |